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.49 MB
Powered by
Channel Info
Network: freenodeChannel: #php |
Search in www.irclog.org
Log from #php at freenode 2006-05-23
[12:11]<cyjvj>but before destroy a session is needed to unset the $_SESSION
[12:22]<fwneve>Hi, seems that www.php.net is dead atm so is there another resource for the php docu?
[12:22]<2s>php.sh
[12:23]<2s>or tld-of-your-country.php.net
[12:23]<fwneve>bs, thanks a lot
[12:24]<cyjvj>www.zend.com
[12:24]<cyjvj>exactly http://www.zend.com/manual/
[12:26]<mzzayg>re
[12:26]<mzzayg>um guys i can get into php.net site so i want to ask a question
[12:26]<mzzayg>am about: ini_set
[12:26]<mzzayg>how can i disable "register_globals" through the ini_set command
[12:26]<drygq>why is this not working? $wrapup=wordwrap(mysql_result($result, 1,'message'),10,"<br />\n");
[12:27]<drygq>Marcin: use this meanwhile http://ie.php.net/
[12:27]<drygq>its a php.net mirror
[12:27]<mzzayg>hmm
[12:27]<mzzayg>ie.php.net smells like m$ shit
[12:27]<mzzayg>:>
[12:27]<drygq>..
[12:28]<rymrg>Marcin: php.net/register_globals
[12:28]<drygq>http://ie.php.net/mirrors.php
[12:28]<rymrg>main2: how would we know, what's the error? It's also incredibly bad to chain functions like that
[12:29]<drygq>ow?
[12:29]<mzzayg>aidan: ok, i've got it, big thx and a beer
[12:29]<mzzayg>:>
[12:31]<ryddygxrgssjg>Hey guys this is kind of off-topic, but could anybody recommend and budget dedicated server host (good cheap price) around $30-$60 /month?
[12:31]<wcx>I just use 1and1 hosting
[12:32]<ryddygxrgssjg>JJ ? :P
[12:32]<wcx>I love it ... not sure what you mean by dedicated server host... wouldn't all host be dedicated servers (considering they are leasing servers)
[12:32]<wcx>they aren't*
[12:33]<ryddygxrgssjg>got a URI for land1?
[12:33]<ryddygxrgssjg>:D
[12:34]<mzzayg>erm
[12:34]<mzzayg>hmm
[12:34]<mzzayg>i can't set globals to off
[12:34]<drygq>hmm.. this doesnt wrap - but i really dont see why :(, $retrieve=mysql_result($result, 1,'message'); $wrapup=wordwrap($retrieve,10,"<br />\n");
[12:34]<wcx>www.1and1.com =p read it in a magazine and decided to go with them
[12:34]<mzzayg>throught -> ini_set('register_globals','0');
[12:34]<mzzayg>:(
[12:36]<ryddygxrgssjg>WCX: thank you checking them out:)
[12:36]<tjzrrg_>hello
[12:38]<tjzrrg_>did anyone get simplexml_load_string working with CDATA sections containing '&' characters ?
[12:43]<tjzrrg_>guess not...
[12:45]<cyjvj>there is a way to trigger when a page is close
[12:45]<cyjvj>no from php right
[12:45]<2s>php only knows when your browser got the page
[12:48]<tjzrrg_>sorry
[12:54]<cygycygy>where is php.net
[12:55]<rymrg>CiGiCiGi?
[12:56]<cygycygy>php.net dont open
[12:56]<cygycygy>i need official document
[12:57]<cyjvj>maybe the server is down
[12:57]<nrrnfs>Hello.
[12:57]<cygycygy>i am not lucky :(
[12:58]<drygq>http://ie.php.net/mirrors.php
[12:58]<drygq>server php.net is down yes, use a mirror ^^
[12:58]<nrrnfs>Can someone tell me how -> works in php?
[12:58]<nrrnfs>or sirect me to a page where i can figure it out
[12:58]<cygycygy>main2 thank you very much
[12:58]<-- svgvsdyzgjvr_ xrs>/dev/null")
[12:59]<drygq>you are very welcome :)
[13:06]<a2a>heyas :)
[13:07]<rddsdjcn>can values in form inputs be captured in $_SESSION prior to the form being submitted ?
[13:07]<tjzrrg_>how ?
[13:08]<tjzrrg_>if the form is not submitted you can't have any access to the data
[13:08]<tjzrrg_>or perhaps with Ajax
[13:08]<tjzrrg_>and javascript
[13:08]<mnfvyz>thats a workaround really
[13:08]<tjzrrg_>sure
[13:09]<rddsdjcn>maybe what i really need is a php equiv of "onChange" ...
[13:10]<rddsdjcn>which would essentially be calling a php script in the onChange event that would capture the value...
[13:11]<rddsdjcn><script type="js" src="doit.php" ... ?
[13:11]<rddsdjcn>i realize that that's going the other direction, but that's really what would need to happen
[13:12]<a2a>gymsmoke: erm... you could do it... onchange="somehackydynamicloadroutine()"
[13:12]<rddsdjcn>the onChange event on the client would call a php script which would capture the values as they are...
[13:12]<rddsdjcn>ok
[13:13]<ran_dn>how could I count all jpg files in a folder ?
[13:14]<tjzrrg_>rtfm ?
[13:14]<ymrg>how can i handle .doc document and load them into a string without thoese idiotical encodes?
[13:17]<ran_dn> ob_start(); $svg = ob_get_contents(); ob_end_clean(); and fread...
[13:17]<ran_dn>idan
[13:18]<ymrg>fread after ob? whats the point in that?
[13:18]<ran_dn>no !
[13:18]<ran_dn>obstart fread var = content and ob end
[13:19]<ran_dn>how could I count all files of a same type in a folder ?
[13:19]<xsff0yv>http://pastebin.com/732719
[13:20]<tjzrrg_>ace_me : try to search 'dir' on php.net
[13:21]<ymrg>i dont really get you ace_me... sorry
[13:22]<drnnrgnv>hehe
[13:22]<drnnrgnv>i just gzipped my 4.1gb apache access log down to a measily 120mb
[13:23]<ran_dn>I need to
[13:23]<ran_dn>no matter
[13:23]<ran_dn>better google :)
[13:24]<su2znzjt>hiya all. I have enabled .php in /path/to/public_html but how do I disable .php in /path/to/public_html/uploads ?
[13:34]<ymrg>how can i handle .doc document and load them into a string without thoese idiotical encodes?
[13:35]<su2znzjt>get fiel contents?
[13:35]<ymrg>this gets it with some encoding data
[13:37]<frrrnfjvscy>hi guys, i have a link(www.xxx.com) to a website stored as $link but when i do an href i get localhost/path/to/joomla/www.xxx.com
[13:37]<tjzrrg__>try : 'http://' . $link
[13:40]<frrrnfjvscy>thanks
[13:41]<frrrnfjvscy>is it possible when clicking on a link to set the subject in the email message?







