| |
| |
| |
|
Page: 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
Comments:
<0> sellout4him, better read fntdir dynamically (imho) :) <0> *fontdir <1> yes, write php to write php! <2> he he <3> I'm having a heck of time getting mysql 5.0.19 to work with php 5.1.2 on freebsd 5.4, I've got php5-mysql-5.1.2_1 installed and the extension=mysql.so is in extension.ini, mysql isn't showing up in phpinfo() though, any ideas? <1> free_on was a little impatient <1> heh <1> oh Free_on <1> you could store the time in the db, and either setup a cronjob to check these days and do stuff, or, have every request to the script check it... and do stuff <4> could somebody help me about using template ? <5> http://rafb.net/paste/results/uqPKCo20.html - could someone help me with a method to help switch() statement obtain a filename, or '' if the filename is empty? <5> help me come up with* <1> robert_: do some tests, get dirty with the functions, and feel how they work <1> you stated being uncertain when to use dirname() or basename(), so, that's my suggestion on that... also, looking at the manual :) http://php.net/dirname <6> How can I sort an array, in descending order? <1> there are abou 300 array sorting functions, at some point you'll find the right one :)
<1> start with php.net/sort <5> philip: it's not that I'm not sure when to use dirname/basename(), it's that I'm unsure of what's being fed to my switch() statement <5> bear with me- it's 3am :P <6> ok.. it's just the online documentation I just looked at, just gave "sort() and shuffle()" <5> I'm trying to finish this before I p*** out :P <7> robert_: May be it's 5am there and he can't bear with it. :) <1> Solifugus: php manual... look at left sidebar... and all the see also's... <5> tws: huh? <1> robert_: i would suggest going to bed :) <5> yeah, but this is work related :P <5> so I want to finish atleast this before I get some sleep <6> php.net is non-responsive.. <5> heh <1> Solifugus: use a mirror such as us2.php.net/sort <8> hi folks ! <8> =) <8> i 'm with problem <1> php.net has been shaky lately, at least at times <1> mirrors though... plenty of bandwidth and cpu to spare :) <8> my update on db is null ;( <8> http://www.phpfi.com/110374 <8> update geral set aluno = '' ,rg = '' ,escola = '' ,serie = '' ,email = '' ,telefone = '' ,idade = '' ,***o = '' ,professor = '' where id = '4' <8> query on db is null <8> id = '4' is not null <1> oh contraventor <6> it's kinda stupid to have just "sort()" with no way to specify in what direction. <1> Solifugus: it's also stupid to look at one function and ***ume it's the only sort function :) <1> contraventor: you need to do error checking <1> you don't even know if the query executed <7> contraventor: Any error? Is $id set? <1> tell me what mysql_query returns on failure, then we'll talk :) <8> tws $id is set <7> Solifugus: http://id.php.net/array and stop asking until you've read everything and found nothing. <0> Solifugus, rsort ? <8> tws error is Undefined variable: telefone in archive ... <8> Undefined variable: for all ... <8> aluno = '' ,rg = '' ,escola = '' ,serie = '' ,email = '' ,telefone = '' ,idade = <8> '' ,***o = '' ,professor = '' <1> it is code like contraventor's that magic_quotes_gpc exists <8> ;/ <1> and is on by default <1> think about the next time you complain about a \' :) <0> philip, :(((((((( <1> :) <0> it would be much better if magic_quotes_gpc would not exist in first place.. <1> i don't know how i feel, i go back and forth <1> you can't get people to check if a query return false, how do you expect them to do any sort of data validation? :) <8> ;( <1> contraventor: what does mysql_query() return when the query fails? <1> contraventor: what happens when someone types in O'reilly? <0> but, with magic_quotes_gpc it will not happen... :/ <1> yes, good poiint, but how often do people test with that? <0> rarely... <1> yeah i agree with you, really, but am trying... :) <1> agree that magic_quotes_gpc are evil <0> but i'm sick making constructs: $foo = isset($_GET["foo"])?ini_get('magic_quotes_gpc')?stripslashes($_GET["foo"]):$_GET["foo"]):null; <0> :) <1> heh <1> that's hot
<1> yeah, i've typed get_magic_quotes_gpc() a few too many times :) <1> but will, at some level, miss seeing \' on random websites <0> ;) <0> ok, i'm off to find some food in this appartment :) <1> good luck <9> what's the maximum length of the md5 sum for a string that is <= 32 characters? <1> 32 <10> an md5sum is always 128 bit, meaning 32 characters in hex form or 16 in raw form <9> great <9> thanks <11> Server for zendnode? <1> strange that hides <9> ****ing april fools <1> oh you <12> dont play rond... <12> ;] <9> its gonna be a long day <12> first april :] <12> my bday in 9 days :] <1> yeah like we'll believe that! <11> /topic can take channel name as an argument. /topic ##php ##php blah blah blah <1> so true <11> Oh, holy crap. It's past midnight. I don't pay attention to time. <1> lucky you have ##php to help you <11> Indeed. <10> actually, it's 10:35 <10> *runs* <1> you are in the wrong place it seems :) <13> oh my god people <13> has anyone seen the news? <13> We're at war with Dubai! <13> ... Happy april fools day :) <13> Why has freenode removed this chan? <14> ph8: you, my friend, are an idiot. <12> ph8: huh? <12> whats Dubai? <12> et: depends on where you live, doesn't it? <15> If they have how come we cna tlak in it? <1> today we're allowed 250 characters a minute, who knows what the limit will be tomorrow <12> 250? :]] <12> philip: seems like your limit has ran out <1> it's been over a minute <12> talk to me <12> ]; <1> i'd rather not see #php disappear completely <14> Oh Lord... here comes the flood of unoriginal, lame "April Fool's" jokes. <1> you sure sound negative today <14> :| <16> Anyone know how to use % in a sprintf mysql_query, but not wanting sprintf to think it should be vars there? <14> rightnow: READ THE ****ING TOPIC. <14> Connect to #zendnode if you need help. <1> heh <16> i thought it was a joke <14> NO. <12> rtfm <1> zendnote instead of freenode, not #zendnode :) <1> er.. <16> irc.zendnode? <16> .com? <12> ?! wtf <1> .net <14> rightnow: irc.dalnet.net #teenchat <12> stop playing around <16> Tranceric, whats up with the attitude? <14> rightnow: I'm tired of people who don't read the topic. <14> Just read the topic and connect to zendnode. <16> Well if you're stupid enough to put that **** in the topic on april 1st, and not even explaining why.. then DONT BE SO DAMN SUPRISED, idiot <12> rightnow: i didnt understand your question, maybe you ant $sql="select something frmo somewhere where x = '{$zz}'"; ? <1> wow <14> rightnow: DON'T MAKE ME BAN YOU. <12> Tranceric: you aren't an op =P <1> rightnow: he's kidding :) <14> Drakas: oh really? <1> about everything
Return to
#php or Go to some related
logs:
gentoo fsck.vfat locale charmap gentoo bobs around tailor of panama untar several files on same time bash msse3 turion #gentoo acconting+linux update beezy to dapper Tkinter designer python bnx2 driver in ubuntu
|
|