IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1982.48 MB
Powered by
Channel Info
Network: freenodeChannel: #php |
Search in www.irclog.org
Log from #php at freenode 2006-07-17
Pages: < Prev
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Next >
[22:56]<suzpmun>i am cw
[22:56]<kyddja>Chaosii: I meant to grab all the funky chars from the DB and convert them to &meow; stuff in the ISO-8859-1 document.
[22:56]<suzpmun>prince labui
[22:56]<kyddja>surfdue: PayPal.
[22:56]<||aw>i thought from nigeria all you could send was money order
[22:56]<suzpmun>KimmoA, i dont know if paypal will allow me to send it
[22:56]<kyddja>:/
[22:56]<rrdrdr>||cw - the emails lie!
[22:56]<suzpmun>||cw, why would you say that?
[22:57]<suzpmun>Imbabway!!!
[22:57]<rcrgjwg>||cw if this array already exist ?
[22:57]<kyddja>Chaosii: Or is that considered a waste of bandwidth?
[22:58]<||aw>akano1n: see php.net/array , I think there's a function to append an array to an array
[22:58]<suzpmun>lol im jk and where did you get nigeria from ||cw lol ;)
[22:58]<rcrgjwg>ok
[22:58]<ansvnzd>append an array to an array....array_merge() maybe?
[22:59]<gxjvv>array_merge inded
[22:59]<||aw>surfdue: heh, you don't get those emails?
[22:59]<suzpmun>yes i do :P
[22:59]<||aw>merge is more than append
[22:59]<suzpmun>i remember, i actually replied to one
[22:59]<suzpmun>and they send me the 10 mil thats how im so rich
[22:59]<e0ee>array_push() i guess
[22:59]<vuwvxnsfzacnz>hello.
[22:59]<suzpmun>jk! :D lol again..
[23:00]<vuwvxnsfzacnz>"UPDATE users SET password='$new_pass' where username='$user' limit 1";
[23:00]<||aw>i know some people that have recieved the forged money orders (of course they were smart enough to not send anything
[23:00]<vuwvxnsfzacnz>why does this leave the password blank?
[23:00]<ansvnzd>array_push, append mixed data to an existing array
[23:00]<||aw>tuxtheslacker: what's in $new_pass
[23:01]<gxjvv>||cw: array_merge() merges the elements of one or more arrays together so that the values of one are appended to the end of the previous one. It returns the resulting array.
[23:01]<vuwvxnsfzacnz>$_post['new_password']
[23:01]<gxjvv>it is essentially an append
[23:01]<ansvnzd>set password=PASSWORD('$new_pass')
[23:01]<vuwvxnsfzacnz>||cw ^^
[23:01]<||aw>Gho5t: as well as dropping duplicates
[23:01]<vuwvxnsfzacnz>it needs ot be md5ed as well.
[23:01]<ansvnzd>then, array_merge or array_push ? :)
[23:02]<||aw>tuxtheslacker: that says nothing of the data
[23:02]<kyddja>Can PHP convert special chars in an UTF string/source to © block thingies?
[23:02]<zdyzw`>how do i install rpm?
[23:02]<vuwvxnsfzacnz>||cw it's a password from a form on another page.
[23:02]<mzzcl>tuxtheslacker: That's $_POST right, not $_post ?
[23:03]<vuwvxnsfzacnz>MarkL, nope, I have $_post not $_POST
[23:03]<ansvnzd>update users set password=PASSWORD('xxxx')
[23:03]<||aw>tuxtheslacker: my point is, is there something in the data that would toss the SQL off
[23:03]<mzzcl>$_post != $_POST
[23:03]<cxrjsyy>htmlspecialchars
[23:03]<cxrjsyy>?
[23:03]<ansvnzd>you need to use the internal function 'PASSWORD' which provided by mysql
[23:04]<kyddja>Chaosii: That only changes a few. :/
[23:04]<kyddja>Ah. htmlentities.
[23:04]<ansvnzd>to install rpm, try to type rpm -iUh xxx.rpm
[23:04]<vuwvxnsfzacnz>MarkL, Thanks! That fixed it.
[23:04]<kyddja>But it's kind of too good to be true.
[23:04]<vuwvxnsfzacnz>it's always the little stuff...
[23:04]<mzzcl>tuxtheslacker: np
[23:06]<-- svgvsdyzgjvr xrs>/dev/null")
[23:06]<kyddja>It was too good to be true.
[23:06]<kyddja>Time for ugly hack mode.
[23:07]<sgzdgdvd>Hi everyone... Any idea if someone's gonna take over turck-mmcache and update it ? It was a great piece of software...
[23:08]<sgzdgdvd>... and does anyone know an other optimiser of that kind ?
[23:09]<ayzzsvnz>i moved to zend optimizer :\ but then again, i use zend and php together for everything
[23:09]<ansvnzd>zend optimizer...
[23:10]<sgzdgdvd>humm
[23:10]<sgzdgdvd>I see
[23:10]<sgzdgdvd>anyone else ?
[23:10]<ayzzsvnz>what's wrong with zend optimizer?
[23:11]<sgzdgdvd>It's not free
[23:11]<||aw>Sergonium: see http://eaccelerator.net/
[23:11]<gxjvv>zend ide is annoying
[23:12]<ansvnzd>It's free i guess
[23:12]<gxjvv>well the auto-complete is atleast
[23:12]<||aw>er
[23:12]<||aw>Serinity: see http://eaccelerator.net/
[23:12]<sgzdgdvd>Added to this, the zend stuff is coded in java last time i checked
[23:12]<ayzzsvnz>zend optimizer is free...
[23:12]<ansvnzd>oh, zde is not free
[23:12]<sgzdgdvd>||cw, Thanks :)
[23:12]<ayzzsvnz>but nothing else on their site is :P
[23:12]<||aw>Serinity: of course, if you google for turk mmcache and read the top 5 results, you'd know this :P
[23:12]<sgzdgdvd>eAccelerator was born in December 2004 as a fork of the Turck MMCache project. <=== luv' ya ||cw
[23:13]<ansvnzd>mmcache has stoped update...
[23:19]<rcrgjwg>when i do phpinfo(), php 5.1, it shows, zend engine 2.1.0, this is an optimizer ?
[23:19]<sgzdgdvd>no
[23:19]<sgzdgdvd>php is based on zend engine
[23:19]<rcrgjwg>ok
[23:22]<frvrfrnmnmd>I have two timestamps, how can I subtract them?
[23:23]<ansvnzd>Does anyone can tell me how can I register nickname here? I can't find the staffer :(
[23:23]<frvrfrnmnmd>people use classes for this? or like are there any php functions.
[23:23]<ansvnzd>strtotime();
[23:23]<ansvnzd>FatalRemdy: try to use strtotime()?
[23:23]<sgzdgdvd>substract them ?
[23:24]<sgzdgdvd>timestamps are only numbers
[23:24]<sgzdgdvd>a -= b;
[23:24]<sgzdgdvd>or whatever
[23:24]<ansvnzd>may be format in "2006-07-21"
[23:24]<rcrgjwg>Zend Optimizer is free, what is not free is the guard to encode. =P
[23:24]<sgzdgdvd>hum, could be, I always think "unix" timestamps
[23:25]<ansvnzd>:)







