@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6



Comments:

<0> LTFG is Learn To ****ing Google god damnit
<1> it seems to work for every one except for $session['cart'][0]
<2> oh
<0> wow
<0> that jump the shark link is interesting
<3> so let me get this straight... it's feb 2nd today
<0> so many people interested in such a crappy show
<2> too many damn acronyms
<0> @php print date('r');
<4> Result: Thu, 02 Feb 2006 13:00:22 -0800
<0> groogs: looks that way
<3> and its like 30 degres out
<3> ok, 4
<0> lol
<3> wow, 34% of people think 6 more weeks of winter for groundhog day
<5> are they ****ing stupid?



<5> this winter hasn't even hardly BEEN a winter.
<5> its been like 60 degrees or higher here almost all winter.
<5> it ****s.
<6> same here
<7> is there any point in this channel if u are not supposed to ask any questions becouse you should just LTFG?
<0> well, if you weren't a complete idiot
<3> ltfg?
<0> you would see i was LTFGing about a ****ing gilmore girls question
<2> hahah
<5> Um.
<5> bahaha
<5> the question wasn't about PHP at all.
<5> GJ
<3> oh, i see you had a conversation about LTFG earlier .. :p
<0> :)
<2> yeah thats why I found that funny
<3> hm, i guess its not THAT out of line temperature wise..
<3> normal min/max -13.6/-3.5, record -21/7.8 (deg C)
<3> 7.8 was 1973
<3> today its 4
<0> **** that
<0> groogs: does it stay that temp for extended periods of time where you are?
<3> its usually cold all winter, yes
<0> that is too cold. i get tired of it being in the low 30s here
<0> :P
<3> i'm just east of toronto
<8> how can I make php not error out and stop in the middle of the script when opendir takes longer than 30 seconds? this is in a loop, it needs to open several DIRs... if it's unable to open it, I'd like for it to just move on... any ideas
<3> oh boohoo .. :p
<0> lol
<3> or is that F
<0> F
<1> ok, if i use ?pid=0 in the url to p*** 0 as a value, if i use: if($_GET['pid']){ do_something(); } would the $_GET['pid'] return false since it's set to 0?
<3> 32 F = 0 C ..
<3> its usually colder though
<3> this is warm for this time of year
<0> yeah, see we get into the upper 20s when it's "really" cold here
<0> most of the time, it's like 45-50
<0> at least this year
<0> it's been warm
<3> where are you?
<0> oregon
<0> portland specifically
<0> we don't get a whole lot of cold here
<0> too close to the coast
<0> but we get lots of rain
<0> it's fun when it freezes though. cause it's usually not snow but just ice, everywhere
<1> dammit! i got it working, but if you live more then like 4 items in the cart, if you delete #2, it'll delete #2 and #3 but then for the count([$_SESSION['cart']) it lists 3, but only displays 2. does that make any sense?
<1> s/live/have
<3> ansimation: no
<3> var_dump($_SESSION['cart'])
<3> put that in your code
<3> everywhere
<3> until you say "ohh, oops" or something of that nature
<1> ok
<1> array(3) { [0]=> string(9) "HP001314P" [3]=> string(9) "HP002344B" [4]=> string(9) "HP001314P" }
<1> is there any way i can restack the array?
<3> ... yes.. but your code is wrong if thats the problem
<1> because it's listing 3 there, but only displaying 2.
<3> you should use foreach() as opposed to a for ($i = 0; $i<count($items); $i++) loop
<3> as foreach will iterate through all, regardless of the key
<1> ok



<7> whats the difference between for and foreach?
<9> a lot
<9> for iterates a range of numbers, whereas foreach iterates a sequence, which could be of numbers
<3> for doesn't even have to iterate
<3> for(; count($array); echo array_pop($array); }
<3> er, ) not }
<9> for iterates a possibly zero-length user-defined range of numbers based on an underlying condition with a step per iteration
<7> so for is faster and better then
<1> that worked, the foreach. but now the problem of deleting, i delete according to the position in the array, and since it's not restacked the values of the array could be for example 1,3,5,7, and 9 and it would output 0,1,2,3,and 4
<3> ansimation: how do you know which one to delete?
<9> Blueplazma: they have different uses, it's not that one is "faster and better"
<1> pid, which is cremented at the end of the loop
<3> ok well i dunno what your code is like now
<1> which would relate the position in the array
<9> foreach was designed simply to allow easier iteration over an array where you need each array element, eliminating the requirement to access the array's length and then each element in sequence
<3> the way you should be donig it is like..
<3> foreach ($cart as $key=>$value) { echo "<a href=?delete=".$key.">delete</> ".$value; }
<9> foreach($zim in $array) is equivalent to for()ing the length of the array and retrieving each element based on the index of for()
<9> it eliminates a source code step in your code, but i don't foresee one being faster than the other, because internally zend probably does the same thing
<3> then you can basically do if $_REQUEST['delete'] unset ($cart[$_REQUEST['delete']])
<9> why am i getting the itch to fork ironpython
<5> cuz you're a ninny
<5> hehe
<9> i'm actually reading ecma 335
<9> why why why
<9> i should be writing asteroids!
<5> oh dear
<1> http://pastebin.com/535972
<9> well i thought about it while i was in idaho
<5> heh, idaho
<9> no, youdaho!
<5> idaho, udaho!
<5> bahaha
<9> ken jennings on jeopardy
<9> "what's a ho?"
<5> heh
<9> did you see that
<9> i watched that on-air
<5> nope
<9> "This term for a long-handled gardening tool can also mean an immoral pleasure seeker."
<9> "Ken?"
<9> "What's a ho?"
<9> "No."
<9> oh man, it's hysterical
<9> the whole audience just died
<6> omg
<9> i think there's an AVI of it floating around
<6> he really said that?
<9> hah, yes
<9> it was in the middle of his streak or somethin
<5> nice
<6> what was the real answer
<9> 'rake'
<9> i think it's on ebaums world
<6> he was close
<9> http://www.ebaumsworld.com/hardjeopardyq.html
<9> http://media.ebaumsworld.com/wmv/whatsaho.wmv
<5> lmao
<7> my friend is asking me to do a webpage freelance for him (first time for me) and i dont have a clue what to charge.. what sceme do u ppl use?
<9> Blueplazma: don't do it
<5> $120/hr
<0> one hundred MILLION dollars
<0> that should do it
<9> they teach you that in school in utah, huh?
<9> ahaha, alex <3
<7> why not?
<0> <html><head><title>i ****</title></head><body><pre>look at me. i'm on the intarweb</pre></body></html>
<9> stick to html
<0> put that in an index.html file
<9> it sounds like your php isn't up to par
<0> host it
<0> and charge


Name:

Comments:

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






Return to #php
or
Go to some related logs:

char siu pao
#worldchat
xxxxxxxx movies
#linux
#allnitecafe
jani mast
#worldchat
#india
#allnitecafe
Mariah atienza



Home  |  disclaimer  |  contact  |  submit quotes