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-05-22
[19:58]<zzlzm>Killaz: i meant fopen wrapper as something you can use with fopen, file_get_contents, scandir etc .. php.net/wrappers.ftp
[19:58]<dzzf>hi, im new to php, and am trying to convert a text string to a date, i have the following : $d="20060522"; $q = date('F j, Y \a\t g:i a', $d); this always produces a 1970 date, can anyone tell were ive gone wrong and how to fix it?
[19:58]<wsxrm>AlexC_ http://hashphp.org/pastebin.php?pid=6796
[19:59]<zzlzm>Killaz: if you have no lack with that, perhaps a PEAR package or something
[19:59]<zzlzm>s/lack/luck/
[19:59]<zzlzm>marl: strtotime()
[19:59]<wsxrm>marl you'd need to pass an unix timestamp to the date function or use www.php.net/strtotime
[20:00]<afnwc_>xshad, Oh I see - it counts how many arguments the function has taken in?
[20:00]<dzzf>thanks, ill try that :)
[20:00]<wsxrm>AlexC_ no, to count how many arguments, you'd to use func_num_args instead
[20:01]<afnwc_>xshad, which is what you've used
[20:01]<wsxrm>yes, to check if we've any file to include
[20:01]<wsxrm>just a double-checking ;)
[20:01]<ajzgpfyav>any help http://pastebin.ca/58052
[20:01]<sgwdkgg>how come mysql_fetch_row doesn't store results the same as mysql_fetch_array
[20:01]<kyffre>arpad: scandir needs as input a directory. I dont think I can use something like ftp://user:passw@ftpserver/directory as a directory
[20:01]<kyffre>is that possible?
[20:02]<zzlzm>Killaz: yes it's possible, with php5, allow_url_fopen and the ftp wrapper
[20:02]<wsxrm>cornflict I've asked two times, what's you apache version, and what did you get by typing which apxs
[20:02]<afnwc_>xshad, thanks - I understant it now, that should work fine
[20:03]<wsxrm>AlexC_ :)
[20:03]<kyffre>arpad: and with php4? cause that's teh version running on the web server
[20:04]<kyffre>arpad: I'll check that out...
[20:04]<zzlzm>Killaz: scandir is php5 only
[20:04]<kyffre>ouch
[20:05]<kyffre>arpad: no then it's not an option :
[20:05]<kyffre>:S
[20:05]<kyffre>aiaiaiiai....
[20:05]<wsxrm>lol
[20:06]<kyffre>I'll check PEAR.. I think that ftp support is the only way to go..
[20:08]<svjzdwq>I made a shoutcast radio station, anyone wanna test it?
[20:09]<tzgsgzz>PHP-based in some way?
[20:13]<kyffre>arpad: one more Q is readdir(ftp://user:passw@ftpserver/directory) is not an option right?
[20:14]<kyffre>arpad: one more Q is readdir(ftp://user:passw@ftpserver/directory) is not an option right?
[20:18]<pjj>Is there a function that could capitlize only the first letter of a string? /me checks the docs
[20:19]<pjj>ucfirst()
[20:20]<ddrw96>re..
[20:21]<fusxuyrr>anyone in here familiar with C and glftpd? :/
[20:22]<ddrw96>I've a problem with the encoding of emails which I'm receiving from pop3. I've some german umlauts and similar in these mails and they shows up as for example "=C3=BC" for the german character "ue" (ΓΌ)... how to solve this??
[20:23]<xsffjyv>this is for all you that say footie is boring http://www.youtube.com/watch?v=HD8f_Qgwc50&feature=Views&page=5&t=a&f=b maradonna's goal is especially good
[20:24]<evyfguzu>I have a method in a class that gets user info from a database, what I want to do is to set $this-><property> = <value> for each item in the associative array of user info
[20:24]<svjzdzxzsnz>Xsploit: Zzzzz
[20:25]<jzdwzfcnz>What would i use to compare strings to see if they have matching words like if the search string was "world" and i looked through "hello world","foo bar","foo world" it would return true on the first and last one
[20:25]<[yjgy]>Hi all
[20:25]<svjzdzxzsnz>yo, xshad
[20:25]<wsxrm>Jaywalker www.php.net/preg_match
[20:25]<jzdwzfcnz>Thanks
[20:25]<[yjgy]>What is the function to know what are the last 3 characters in a string?
[20:26]<wsxrm>[Yoni] www.php.net/substr
[20:26]<[yjgy]>thx
[20:26]<jzdwzfcnz>substr($string,-3,3)
[20:26]<evyfguzu>anyone know if this is possible
[20:26]<jzdwzfcnz>Nope, it's not.
[20:26]<jzdwzfcnz>Lol.
[20:27]<evyfguzu>short of using the eval function, which I detest
[20:28]<[yjgy]>thx
[20:28]<wsxrm>Stormchaser poor Sonora uh?! she has been banished from everywhere :(
[20:28]<drvvdaa>EvilGuru: $this->$var = 'foo'
[20:28]<pjffyvr>foreach($userinfoarray as $key=>$value) $this->$key = $value;
[20:28]<wsxrm>Sonora right? those small letters keeps confusing me :)
[20:28]<evyfguzu>Pollita: thanks
[20:28]<pjffyvr>!+eval
[20:29]<pjffyvr>WAKE UP BITCH!
[20:29]<ajxgdw0wn>What is the best way to connect to an Oracle 10G server in a RAC configuration?
[20:29]<drvvdaa>Sonora in California?
[20:29]<pjffyvr><php-bot> If eval is the answer, you're probably asking the wrong question.
[20:29]<wsxrm>lol
[20:29]<vyzus-txn>helloy
[20:29]<wsxrm>mattmcc sonora at http://storm.homeunix.org/misc/bts/page1.jpg
[20:30]<vyzus-txn>all
[20:30]<vyzus-txn>hi
[20:30]<vyzus-txn>hi
[20:30]<vyzus-txn>hi
[20:30]<vyzus-txn>hi
[20:30]<vyzus-txn>hi
[20:30]<vyzus-txn>hi
[20:30]<vyzus-txn>hi
[20:30]<vyzus-txn>hi
[20:30]<vyzus-txn>hih
[20:30]<vyzus-txn>hi
[20:30]<vyzus-txn>hih
[20:30]<drvvdaa>What a lame virus.
[20:30]<yvzn2rf>toodles
[20:30]<s|c>anyone here know anything about PHP5's SoapClient? I can't get it to work with Google's web api :/
[20:30]<jzdwzfcnz>Thank god.
[20:31]<s|c>anyone? :Pp
[20:31]<svjzdzxzsnz>Pollita: OH, what the heck... Just ban *!*@213* :)
[20:31]<jzdwzfcnz>Not I.
[20:32]<robom>hello
[20:32]<robom>how can i debug php 5 code under linux?
[20:32]<svjzdzxzsnz>s|k: I have it done :) Gimme a sec.
[20:32]<s|c>Stormchaser: cool! :)
[20:32]<jzdwzfcnz>... Try putting the code on a server
[20:33]<pjffyvr>ROBOd: Same as you'd debug it anywhere...
[20:33]<jzdwzfcnz>ROBOd: It's not different on *nix
[20:33]<s|c>Stormchaser: this wont work for me: $client = new SoapClient("http://api.google.com/search/beta2"); There must be an option I'm missing :(
[20:33]<robom>guys, i want to use visual debugger, just like in an IDE
[20:33]<jzdwzfcnz>pfft
[20:33]<wsxrm>ROBOd www.zend.com
[20:33]<robom>nah







