| |
| |
| |
|
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 29 30 31
Comments:
<0> dunno <0> i live in china <0> here you get nothing unless you work for it <1> they do have social welfare in China btw.. <1> <- HK resident <0> yeah but its inadequate and only for old people and former government employees <0> oh cool <0> lei hou wa !!! <0> ngo sek teng yet dee gwongdong waaa! <0> hehe <2> Hello, can some one help me with a php formmail script. I have one and am able to receive emails from the form. But all the fields appear to be blank. Any idea ? <1> bobnormal: calm down <3> bobnormal, can i PM you? <3> bobnormal, i used sprintf because i read the manual: http://us3.php.net/mysql_real_escape_string <3> isn't that the best way to use it for sql injection? <4> no i dont know how to select the right index of array, if i <? print_r($_POST[tbox]); ?><br>
<4> <? print_r($_POST[$index]); ?> is on second page, and this on first <4> input name="index" type="radio" <5> im going to bed sorry <5> i got to get up in 5 hours and get ready for work <0> mbzle: just on the phone, sorry. i dunno, i don't use real i only use regular mysql_escape_string <3> bobnormal, mysql_escape_string will protect me from sql injection? <0> evilx: 'night <4> Evilx: hmm ? i need more patience . but thank you <0> mbzle: yes, that's the whole point of both functions <4> Evilx: and good night <0> mbzle: as the manual states the only diff is to do with character-set specific escaping, which is a good-thing(tm) <3> thx\ <0> mbzle: i'm just not a perfect programmer ;) gotta leave some bugs! <0> mbzle: on and turn magic quotes off. <0> mbzle: oh, even. magic quotes off, mysql_real_escape_string() every var in every sql query <3> bobnormal, so it's better to use manual's yeah? <1> mysql_escape every var ? <1> thats a little overambitious <0> p0windah: that's how i do it <0> p0windah: how do you do it? <6> Heya ive ran into a problem, iam making a SSH client in PHP and it works really well. My problem is that iam having a fille called mainscreen.php who updates everytime with a flush(); and a file called ssh-command.php which is the executionbar where you send your commands <7> p0windah prefers users able to use very featureful sql injections.. more power to the powerusers! <6> However the problem is i need both to use sessions, and iam puting both in two frames to create somemultitasking action <1> bobnormal: use it for constructing sql queries - fine, but not for every var <6> But i cant have two sessions opend at the same time? <0> alphabit: that's way cool, ssh client in pure php?!?! or do you mean, php/shell hack <6> bobnormal: well iam using the pecl-ssh stuff <0> p0windah: obviously i meant every var within your query <6> bobnormal: http://img499.imageshack.us/img499/7683/200602211946431024x768scrot9kh.png <1> bobnormal: given that text is the only method of communication in here... <0> p0windah: "mysql_real_escape_string() every var in every sql query" .. pretty clear to me, but then again i wrote it :) <6> ANyhow is it possible to run two sessions at the same time using frames? if could anyone tell me how? <0> alphabit: that's very cool <1> bobnormal: you forget I'm retarded <0> alphabit: i'd imagine it's the same as any other frameset? <6> bobnormal: well a.php and b.php is being opend with each frame <6> bobnormal: or else i cant let a.php update everytime with a flush(); and be able to write commands at the sametime from b.php <6> the frames creates a multitaking i need, but if i give a.php session start and also gives b.php session start <8> alphabit, sure, you can have 2 different sessions, just set a different session name <6> elsyf: but that session cant spead with the other? <6> *speak? <6> elsyf: that means i have to logon twice to tell my username to a.php and b.php <9> alphabit: why not create new arrays for each frame <6> stestagg: you dont get it <9> it $SESSION['framea'] and $SESSION['frameb'] <9> that way you can carry on adding sessions ad... <0> alphabit: sorry i'm not clear about it, and don't have time to install it for myself -- can you give me a URL with a copy running? <6> bobnormal: well man this aint ssh related <6> bobnormal: it's just a PHP session question i have <6> anyhow brb <0> alphabit: right but i'm unclear what the issue is, if you break it in to two frames, of course you can just make a new session by having the frames in different paths, and setting the session cookie differently for each <0> ? <0> i never use builtin sessions so i'm unsure how viable that is with them <6> bobnormal: ill give that a try <0> or for a real hack you could just open a different apache port <0> that way you'll get a new session <0> have the framset call one on the regular port, one on the second port <0> thats perhaps easier to do <0> ;) <10> hello all... anybody knows a reason, why an uploaded file wouldnt get stored by php ? (file_uploads is set to "On", upload_tmp_dir is also set to a location where the user running the apache-server has write access..) any common mistakes i might have made ? <9> cklaus: file size? how big is the file?
<10> stestagg, only around 1kb.. <10> i cant save _any_ file.. <10> the path that $_FILES[name][tmp_name] tells me simply doesnt exist. <10> at least, the filename from that path.. <10> apache 2.0.49 and PHP/4.3.6 is being used. <10> SunOS as operating system.. <9> cklaus: sorry, can't help <11> hi.. i am struck in using indent with php.. <10> humm.. thanks anyways, stestagg :) <11> can anyone tell me what exact options i should p*** to indent to make it work for php <12> anyone has experience with verio hosting? <12> it 's not a technical problem, just wanna know if their shared hosting is always setup like virtual private server <13> can anyone helpme make something this what s on here where is says now playing http://www.cygnusradio.com/chatroomwin.php i know that rdio station is a shoutcast <14> hi... im going to be introducing php to my cl***mates today <14> i was wondering what the best place to do this would be <14> ie if I was to go through some already built tutorial or something <13> can anyone help me make something this what s on here where is says now playing http://www.cygnusradio.com/chatroomwin.php i know that my radio station is a shoutcast <15> foo.inc: cl*** foo {}; return foo; ... $fooCl*** = require_once("foo.inc"); $foo = new $fooCl***; // why it it returning int(1)? <8> xeer, because $fooCl*** = require_once("foo.inc"); is true? <15> if there was no return in the file, it would return true <15> but i have it returning a cl*** type <16> var_dump($fooCl***)p <16> var_dump($fooCl***) <15> yeah, the var dump shows a int with the value of 1 <16> then you are not returning what you think you are? <15> do i have to cast or something? return (object)foo;? i dont know <4> How can i do an array to fill 5 hiden fields on each row of table with different id? and on next page after submit, to get the right index number? its working fine with radio chceckbox, but other hidden fields are without index id... what am i doing wrong? <4> beacouse it cant be selected like chceck box, which giving the index position... <16> xeer: show us the lines near the return in your included file <13> can anyone help me make something this what s on here where is says now playing http://www.cygnusradio.com/chatroomwin.php i know that my radio station is a shoutcast <13> oopppss <13> sorry <13> but i do need help with that <16> cobra01: Thats flash? <13> well the chat is <15> looks like its an iframe to me <15> song.php <13> i don't this the music info is <15> songinfo.php* <16> cobra01: you want to get information from a shoutcast server? <13> yes i just don't know how they did it and try to do it on my website also <13> yes <16> try google then <13> i have try everything <13> that is why i came here <13> well can anyone help <13> me <17> can sum1 help me fix this problem <17> www.property.xeonhost.co.uk (it says no database selected) <18> if sum1 were here, im sure he would <17> how do i select a databse <19> Does anyone remember what the maximum value for a $_GET variable can be? <19> I think there is a character limitation in it <18> yeah, there is <20> No limitation to the variable, but a limitation to the server. <21> there's a limit on how long your REQUEST_URI can be indeed.. <22> in php we have the ++ operator don't we? <21> but I have no idea how long that is exactly <21> yeah Acs <20> Acs: Yes <22> like $x = 1; <22> $x++ <20> Acs: Next time try it yourself. <19> Incrementing <22> kuja thanks <22> lol <22> right :P <17> do any of you want free hosting, coz i own my own hosting reseller www.xeonhost.co.uk <17> unlimited space/bandwidth <18> shush <18> no ads <21> how does one go about creating a property as an array? <20> enygma: No wait, maybe he'll let us host porn. <18> w00
Return to
#php or Go to some related
logs:
#php #physics heh to ascci ubuntu removing exim ati x1600 second display problem #debian ubuntu cannot open display nautilus #css gnome-mount /dev/scd0 service iptables status rhel5
|
|