| |
| |
| |
|
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
Comments:
<0> so remove the ';'? <0> $aRes=@mysql_query($Query);^M <1> TheGenius: paste your code into pastebin and i'll edit it <2> oooh, the * <0> k <3> !+@ <4> [@] The PHP error control operator that suppresses errors (@foo()), see: http://php.net/operators.errorcontrol - Don't use it. Think I'm wrong? Ask me about "GO". <5> Braz, no, you don't need multiple arguments, then ? <2> i do <1> !+GO <2> that's where i was stuck <6> php-bot : whats GO <0> http://pastebin.com/595535 <7> hi anybody knows why uploading using move_uploaded_file keeps hanging my apache? <2> thanks, i'll see what I can do with that :) <6> he doesnt know
<8> I have a variable something like "result 200 = 1230", how can I strip out the "result 200 =" part? <1> http://pastebin.com/595537 <1> TheGenius: <9> what is the url of the site to post sample code on, so anyone can it view it temporarily, can't remember <0> k <8> pastebin.com <9> there it is, thx <0> let me give it a shot <10> if i want to switch from iis to apache do i have to remove php first? <1> riddlebox: substr($str,0,str_pos($str,'=')+1) might work, or i think you can use a negative number with substr as well to start from the right hand end of the string <11> user uploads, is it faster to put them into a "catch all" directory, with all uploads, or to make a directory for each user <12> which extension do you all recommend if i just want to store a few values into a mysql database: mysql or mysqli <13> sqlite <8> drools, so if my variable is $starttime, and in it is "result 200 = 1235" I would substitute $str for $starttime right? <0> Parse error: syntax error, unexpected '^' in /usr/home/www/myfresnohomes.com/htdocs/reagent2/install/index.php on line 66 <0> thats what I got <0> $Table[14]=$TABLE_PREFIX."memberlisting";^M <8> drools, sorry if I ask stupid questions, I am using php for the first time and learning <1> riddlebox: yeha, then from that code you would be left with "result 200 = " (i think) <1> riddlebox: but read www.php.net/substr <8> drools, I want to drop the "result 200 =" and keep the 1235 or whatever it will be <14> TheGenius: have you read the error message? <15> hey, when i have img src="image.php?id=123" , image.php doesn't give any error messages when there's a problem, is there any way they can be shown? <14> sylow: errors are shown by default <15> aidan: all errors are shown, except those in image.php <1> riddlebox: yeah, just look at substr, that's the function you want <14> sylow: if you don't see errors, remove the error supression that you must have added to that file <15> even when I call some nonexisting() function <0> yeah <0> it doesn't make sense <1> sylow: the browser is probably trying to display the error messages as an image :-P <0> Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource <0> thats the first error <15> dools: no, in the browser the src="image.php?id=123" is shown <0> second one was this after I modified it. <0> Parse error: syntax error, unexpected '^' in /usr/home/www/myfresnohomes.com/htdocs/reagent2/install/index.php on line 66 <15> but it doesn't render anything <15> and btw, it works.. when I remove an if block in image.php <15> the if statement checks some user permissions, maybe there something wrong in there.. but even when you do $random->foo(); , the script just continues. It's hard to debug <1> sylow: do php images.php from the command line, or load image.php directly in the browser. <15> dools: that can't be done because they are in a loop and show thumbnails <1> sylow: or log errors to a file, because the content is coming through <img src="" />, so the browser thinks that any output from that script is an image not text <15> ahh, yeah.. I'll do that, thanks <16> :) <14> TheGenius: have you READ THE ERROR MESSAGE? <16> " No, this is NOT #mysql!" means I can't ask how to do a mysql_fetch_***oc ()? <17> aidan, he's a genius... <14> TheGenius: you didn't write this code did you? contact the person who did for support <3> if genius can;'t read the message, then the rest of the human race is screwed. <0> it's ok <0> the install worked without modifying it <0> thanks for trying though guys <3> !+g10 <4> Guideline #10) We don't support xyz script. We help you *write* PHP, not download and install/hack/use pre-written scripts <0> I appreciate that. <14> thanks for trying, haha, what a douche. <0> ? <0> wtf dude <3> TheGenius: Go away <14> TheGenius: shutup and /part, thanks
<0> I just thanked you for helping <18> It's so refreshing, after not being here for a week, to come back and find out the people are just as stupid as before. <0> blow me you ingrate prick. <18> :) <14> FlamingCows: and I'm just as angry! <16> :o <14> would have been funnier if you'd said "no... blow ME" <3> aidan: That I wanted to do with the kick :) <16> what a nice impression this channel gives me in my first join <14> PedroAGontijo: we aim to please :) <11> lol <16> but I'm smart enough not to keep just the first impressions ;) <14> PedroAGontijo: now, blow ME <18> :O <16> :o <3> FlamingCows: Heh... lilo k-lined you by accident among other things ;) <16> well <18> Stormchaser: I noticed. :) <16> "No, this is NOT #mysql!" means I can't ask about any function beginning with mysql_ ? <3> did you went 'WTF'? Have you even noticed? :) <16> or just not about mysql queries and syntax? <18> I tried to get someone to talk to lilo for me, but in the end I had to sort it out on my own. <1> PedroAGontijo: just the queries and syntax generally <3> PedroAGontijo: You can ask about the mysql_ functions, but not SQL itself. <18> Stormchaser: Did you miss me? <16> :) <16> cool :) <3> scratch the queries <16> well <16> I haven't done anything in php/mysql in a while <3> FlamingCows: No, I talked to lilo about your kline ;) <16> now I can't even remember how to do something like... <1> how can a select all rows from a table that are like something? <3> #sql, please <16> do a query like "SELECT * FROM mytable" and then with mysql_fetch_***oc () get each of the values there <14> PedroAGontijo: php.net/mysql has all the examples you need <19> hey is there anyway to make the text I get from a TEXTAREA, into an array but each word in a number? <19> like if I have <16> aidan: not all <19> "Hello there" <19> I get <18> Stormchaser: <3 <14> PedroAGontijo: php.net/mysql_query and php.net/mysql_real_escape_string have all the examples you need <20> I have a error related to http://bugs.php.net/bug.php?id=35029 , but i have PHP 4.4.2 and Apache 1.3.34 ( segmentation faults with multiple include virtual requests ), i tried upgrade, remove, re install, and nothing solve the problem, i got this too: signal Segmentation fault (11). Thanks in advance. <3> FlamingCows: ;) <19> $string[0] Hello <19> and $string[1] there <3> !tell Acs about enter <13> explode(' ', $test); <13> tokenizer, etc. etc. <19> right <19> thanks benlake <16> :) <21> anyone help me out please? <1> Dustin2: just ask <18> Dustin2: What's the question? <3> Dustin2: For $271 CASH <1> hehe <22> can i ask a php/mysql question since there is no activity in mysql ?? <22> #mysql* <3> no <22> :( <23> s/s// <16> hmm <21> FlamingCows: I have php installed , using apache php 5.12 . When i try to goto my phpinfo.php file it doesnt open when i click it, but when i right click and open in new window it works :S? <24> adulion_eating, you never asked your q in #mysql <18> Dustin2: Sounds like a browser issue. <22> there... <22> i never bothered cos no on was chatting <21> FlamingCows: when i try to install forums, it says php doesnt support this type of installation <3> Dustin2: Clear the browser cache <21> but its phpbb... and i have the latest php release
Return to
#php or Go to some related
logs:
#math #linux #ubuntu python subprocess.Popen blocks ubuntu bcm94318 ubuntu ide_intr
fstype=cifs debian autofs etch dc++ hub ulm BLOB/TEXT column 'filename' used in key specification without a key length #sed
|
|