| |
| |
| |
|
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 28
Comments:
<0> will[werk]: Sure <0> will[werk]: I didn't mean to doubt that it was possible, I'm simply saying *I* have been unable to get it to work...therefore, I the recommendation I make to others is not to bother. <1> Oh heh <1> Well, it's really simple... :) <2> I cant understand this, phpmyadmin can list how many tables there's in a DB but it cant list them. god isnt on my side <1> TML, Oh yeah, see how that's Apache2? Thanks to you :) <0> will[werk]: What do you mean? <1> TML, You helped me to get Apache2 (well clarified all that MPM stuff) <0> oh <1> el-homo, Huh? <3> ssh root@rzone04.nitul.com br549se <0> xanadu: ???? <1> heh <0> el-homo: This isn't a PHPMyAdmin support channel. They have their own channel for that. <2> I figured someone here would know since phpmyadmin is commonly used by php users <4> Stormx2, hey
<5> since what version of PHP are 'and' and 'or' equivalent for '&&' and '||'? <0> xanadu: Please don't do that here. <0> eleftherios: 3.something <5> TML, thank you :-) <0> eleftherios: Be careful, because they're not the same <0> They have different precedence <5> TML, are they not?? <1> Oh, I want to hear this... <0> "They have different precedence" <5> TML, thank you, I 'll read it up <6> ahoy ##php <7> how do i resolve in php an hostname into an ip ? <6> is there an easy way to turn a binary file into hex and back again? <8> hrm. If I have a $_POST array that I want to p*** back to the user in the next form, and it's a nested array, is there a nice clean way to feed that back out in hidden form elements? <9> Does anyone here know how to use the mysqli cluster api functions? Do I need to use multiple connections, or is a connection to the master enough? <6> IceBreak-: gethostbyname <6> Crell42: php.net/serialize <8> prophile: Ick. I was hoping for something that didn't require special processing afterward. <6> Crell42: you can just unserialize it afterwards and merge the two arrays <6> Crell42: see http://php.net/unserialize and http://php.net/array_merge <8> hum. <8> Meh. I guess that can do. <8> Merci. <10> Crell: lol what were you hoping for? <10> Crell: You could always store it in $_SESSION <7> prophile: tnx :) <8> Hm. The session... <6> point <11> hey <6> $_SESSION is awesome <10> Crell: $_SESSION['thisIsDumb'] = $_POST; <10> :D <8> lith: Dumb or not, it sounds good to me. :-) <6> IceBreak-: no problem <11> Hey guys; sorry to ask you a horribly newbieish question, but how can I grab variables from the URL of a php file - ie ?foo=bar&bar=foo ? <10> Crell: just givin ya crap man... If i were you though... I would write an object that handles all $_POST data and ***igns the $_POST vars you want into $_SESSION in a cleaner mannor <11> I need a little php script to work with some other code, and I'm having trouble finding a decent tutorial/example/whatever. <6> JFM: $_GET['foo'] is bar <6> JFM: $_GET['bar'] is foo <6> JFM: you use the superglobal $_GET <8> lith: Well, it's just a one-off form, so I'm happy with the simple way. Were I writing a cleaner system I'd definitely find a cleaner way, but this works for now. <11> so $_GET just grabs from the URL anything that equals ['']? <11> Thanks a lot, I'll give it a go now. <8> I do have a session_set() and session_get() wrapper, which is for legacy support. <6> JFM: any time <6> Crell42: I store sessions in mysql, much better than relying on temp files I find <5> hm, what's the function that converts integers to strings? I am trying to concat string and int variables <6> eleftherios: a string typecast or strval <12> my coworker thinks that triggers and views should not be part of a database <13> how do i enable mySQL from PHP? i've uncommented themodule thing <12> sigh <5> prophile, how do I do a string typecast? <14> (string) <6> $int_variable = (string)$string_var; <15> $string_variable? <6> either way, heh <15> Well it doesn't make sense that way. <6> I had to type that in an external editor, cgi-irc eats open brackets <5> oh, just like in C <6> yep, just like C <6> but without the pointers
<14> winmutt: People are stupid. Get over it. <15> & <5> thank you guys <15> &&&&&&&&&&&&&&&&$$$$$$$$$$$var; <6> no problem <6> Julian|Work: $yourcode->dumb = true; <6> :P <16> lol <12> Stormx2: he is just obstinate <12> er <12> Stormchaser: he is just obstinate <14> winmutt: The universal truth remains. <12> any suggestions on waus cont convert him <8> prophile: I've done that before in earlier versions of PHP that were buggy. Haven't needed it here. <14> winmutt: How about "get over it"? <11> prophile: works perfectly thanks very much <11> If no one minds I'll idle here a bit in case I have any more questions. <11> :) <10> you cant have a 1.5 as the key to an array (INT) <10> actually that was a question... ;) <14> 1.5 isn't even an INT... <10> i know its a float <10> I just didnt want some smart*** to say "YOU CAN HAVE $array["1.5"] = " <12> Stormchaser: get over it wont make him change <14> winmutt: Then theat's your problem... <12> exactly <12> how to fix <15> wah wah <17> you can't, it will cast it to a 1 <12> most i just hope he moves on <13> how do i enable mySQL from PHP? i've uncommented themodule thing <17> Andy298: restart apache <13> i did <13> nothing is showing up about mysql in phpinfo() <14> have you installed the module? <7> is there a command to strip the hostname from a URL ? <14> parse_url(0 <14> s/0/) <17> Andy298: you did install the php-mysql module right? <13> well its in the extension dir <14> windows? <13> and i put it in path env (on windows) <13> and rebooted <14> did your apache booted up without complaints? <4> hey <13> aahh extra slash wasn't needed <13> sorted :) <7> Stormchaser: tnx <14> IceBreak-: rhx <14> s/h/n <7> rhx ? s/h/n ? what is that ? <18> instruction Google Adsense--> http://planet.nana.co.il/hartk2003/en.htm Download free Firefox --> http://planet.nana.co.il/hartk2003/Firefox.htm <14> wasn't he already banned? <19> noooooooooooooooooo <19> Fir dman israeli <14> lol! It looks like hw was klined :) <19> those damn stupid ppl have the nerve <19> they shouldnt have made adsense work in israel.. <19> i'll complaint to google about him <17> Stormchaser: yeah, lilo doens't mess around with spammers <14> ||cw: hope so :) <14> "Hi!" "/kline nick" "Bye!" :) <19> how do i convert a integer to hex ? <20> nas-: decbin() <14> in2hex?' <14> dechex, sorry <19> what is the diff between split and explode ? <14> RTFM <6> split is spelt with an 's' <14> lol! Close enough :) <19> ...k <20> er, do LCD screens shake, like CRTs can? <19> sure, altough it's much more harder to shake an CRT screen <19> it weights allot
Return to
#php or Go to some related
logs:
channel 2: open failed: administratively prohibited: open failed cvs mediawiki debian php5 mysql.so module #suse yum webcore-fonts
instlux debian gentoo disk error 10, jacobsen smp linux lemis write: Broken pipe
transcode syncinfo write error (0) broken pipe ldap_sasl_interactive_bind_s: can't contact LDAP server #ubuntu
|
|