@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info


Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20



Comments:

<Hajuu> Lookin for evil
<emacs> <? if ($user_id==33;) { ?>
<Hajuu> thinkin they can trace it
<Hajuu> but
<emacs> is have this line
<Hajuu> evil dont look like anything
<Hajuu> evil dont look like anything
<Hajuu> EVIIILLLLLLLL
<emacs> but i want also to add user 11
<emacs> <? if ($user_id==33;11) { ?>
<emacs> can i add 11 ??
<kaneda_> emacs: try the manual?
<Hajuu> uh
<Hajuu> 33+11 is 44
<p`u> I heard your grandpappy was 44
<Hajuu> why not just write that?
<emacs> how to dow ?
<emacs> $user_id to be equal to 33 and to 11 ..
<Hajuu> !kick p`u die stupid ****er
<Hajuu> oh
<Hajuu> and 11
<emacs> ==33 | 11
<Hajuu> if ($user_id==33 || $user_id == 11) {
<Ophiocus> lol
<Ophiocus> 27+5
<kaneda_> emacs: php.net, click on documentation, click on manual. Read the damn manual. THe manual will tell you the basic structure of an if statement.
<p`u> 27+5 = 32
<emacs> Hajuu you are great` ;}{
<kaneda_> Apparently, so will Hajuu.
<Hajuu> :)
<Shardon> hello
<Hajuu> cause im in a good mood
<kaneda_> Ahh
<kaneda_> I was confused for a second!
<Ophiocus> 97/2150 = price of gas in my country by the litter
<Shardon> I am trying to capture a php response by using curl
<Shardon> for the post part, how can I use one http var which is mandatory?
<Shardon> i need to use var=blah&data=myxmlmessge
<Shardon> sorry, an xml response
<emacs> Hajuu
<emacs> if ($user_id!=33 || $user_id != 11 ) {
<emacs> echo("Oi! What are you doing here eh?");
<emacs> will also work in this case ?
<kaneda_> emacs: that's a common problem. Replace || with &&
<Hajuu> if you want to give that message if $user_id DOES NOT equal 11 or 33
<Hajuu> sure
<kaneda_> With the || the way that statement is, the message will be seen by both users 33 and 11
<Shardon> nyone?
<emacs> http://coder-com.pastebin.com/546655
<Hajuu> no it wont
<emacs> pls can some one helpme whit this code
<emacs> ?
<Hajuu> kaneda_ you dumb ***
<Hajuu> lol
<emacs> because is not working
<dravine> if user_id does not equal 33 OR user id does not equal 11
<dravine> is what it says with the ||
<dravine> !=
<dravine> NOT EQUAL
<Hajuu> yeah
<dravine> || OR
<Hajuu> thats what he wants I think
<Hajuu> If they are Not an admin type userid, then oi what are you doing here?
<emacs> yes
<Hajuu> which is what that would do
<p`u> cool!
<Hajuu> :/
<Hajuu> stfu
<dravine> there's a better way
<dravine> $ops[]='id1';
<dravine> $ops[]='id2';
<emacs> dravine but my cmaster.inc
<dravine> if(!in_array($thisid,$ops))
<Hajuu> lol man think thats a bit complicated for something that deals in id numbers one by one :P
<Hajuu> oh wow
<Hajuu> thats clever
<Hajuu> lol
<dravine> not really
<dravine> but it keeps you from having to hard code id's that should be in the db anyway
<kaneda_> That's standard.
<Hajuu> yeah
<kaneda_> BUt Hajuu: $userid != 33 || $userid != 11. If the userid is 33, then that side is true, and the other side is false. true OR false == true, bitch.
<dravine> kaneda_, no
<kaneda_> no?
<emacs> it seems working
<Hajuu> no
<Hajuu> lol
<Hajuu> :P
<kaneda_> Wait.
<Hajuu> so dont call me bitch.
<kaneda_> It's still early. Where I am, I woke up a half hour ago.
<kaneda_> Wait.
<kaneda_> Lemme think.
<dravine> you're seriously having issues with a ****ing if statement?
<dravine> what's to think about!?!
<kaneda_> Here's an idea, **** you, and hold on.
<Hajuu> hahahah
<dravine> here's an idea, McDonalds job app
<dravine> for the intarwebs security sake
<kaneda_> What you do with your life is your business. In the meantime, I'll keep coding.
<p`u> gnarly
<dravine> poorly
<kaneda_> If you say so.
<dravine> well if a one line if() is giving you troubles, I can't imagine how hard everything else must be
<kaneda_> Or, here's an idea: it's early, I just woke up, and you're making a sweeping generalization based on a single comment.
<kaneda_> I can't imagine how the world would work if every time one person made a simple logic error, that person was ostracized.
<dravine> you started it
<dravine> by being hostile about your presumed correctness
<kaneda_> That a fact?
<kaneda_> What, the word bitch?
<dravine> "kaneda_ BUt Hajuu: $userid != 33 || $userid != 11. If the userid is 33, then that side is true, and the other side is false. true OR false == true, bitch. "
<kaneda_> Oh, come now. I throw the word 'bitch' around like aussies do 'Oi.'
<kaneda_> s/bitch/my good man/g, if you prefer.
<dravine> no worries
<kaneda_> W0rd. Now we're somewhere.
<dravine> wtf
<dravine> .r0
<dravine> !?!
<kaneda_> ...****?
<dravine> oh the bans not on
<kaneda_> (Oh, and, Hajuu: apologies if there was any sort of offense given)
<Hajuu> hey yeah
<Hajuu> less fighting
<Hajuu> more drugs
<Hajuu> whos first
<Hajuu> just reach in and get a jab
<dravine> hrm
<dravine> man there's a ****ing snow producing cloud just hanging over town
<NeB{wRk}> so hajuu... what drugs did you schmooze your doc out of now
<Hajuu> NeB{wRk}: Some OK painkillers lol
<Hajuu> not GREAT
<Hajuu> but with weed.. ****ing INTENSE
<Hajuu> like I couldnt stand up
<NeB{wRk}> lol :P
<NeB{wRk}> addict
<Hajuu> for a few minutes at least
<Hajuu> :P
<Hajuu> nah
<Hajuu> its all in the name of experimentation
<NeB{wRk}> get a doctorate and become a researcher .. might be more productive ;)
<dravine> man I swear to god I fix the same ****ing bugs every time I have to install this god damn software
<dravine> I must have changed this same thing 50 times in the last year
<dravine> put it in cvs
<Hajuu> NeB{wRk}: haha yeah but....effort..
<dravine> and still, it's always ****ing broken
<kaneda_> Wait. Maybe I'm beating a dead, retarded horse, but what was that ****er trying to do with that if statemenut that I was misunderstanding?
<kaneda_> s/statemenut/statement


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

#AllNiteCafe
wintv-go-plus linux
9tb linux partition
ipw3945 xmit power
12WHERE IS THE HOLY SHRINE ESTABLISHED BY ST BERNADETTE??
#linux
#chatzone
lord_ionut
#MissKitten
#chatzone



Home  |  disclaimer  |  contact  |  submit quotes