@# 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 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35



Comments:

<0> firefly_: because they are scams
<1> is a simple edit me
<2> now you know where it is? :P
<3> KarlsBerg, hmm.
<4> how do you suppose?
<1> right..
<5> KarlsBerg: Funny, for someone who's not a developer, you seem pretty certain of what the problem is, and how hard it is to fix. The answer is No.
<3> It's all ****ed up.
<1> ok, sorry
<0> What is it called when you do echo <<< EOL (or wahtever)
<2> heredoc
<1> good nights
<1> bye
<2> www.php.net/heredoc
<0> jiggster: is that php specific? or is it called heredoc in all langs



<2> you know... i'm not sure
<5> Myconid: heredoc is a generic name
<0> Whats it mean?
<5> We borrowed the term from perl
<2> it's a generic name
<2> :P
<2> borrowed from perl
<2> there ya go :P
<3> Er, I just fixed the code..
<5> Nope, my mistake. It predates perl.
<2> :x
<5> The name heredoc goes all the way back to sh
<5> (The bourne shell)
<6> Myconid: heredoc means "here document" IIRC
<5> That's correct
<2> it's a handy thing to have though for sure
<3> that karlsberg was a big n00b.
<4> how exactly are all job offers scams?
<3> he closed a PHP tag, put html, then an IF closing brace without the PHP open tag and then a PHP closing tag.
<2> i'm interpreting n00b to mean "a beginner", but thats just a bet, care to place a wager?
<4> i'm sure i'm not the only freelance php dev in here
<0> firefly_: if you need a programmer, there are much better ways than #php
<4> yeah
<3> firefly_, freelance as in what?
<3> firefly_, doing people PHP stuff for money in private?
<4> but sometimes a quick question turns into an "oh, thats more complicated than i thought...and this guy sounds like he knows what he's doing..."
<2> we're here to support, not hook up couples
<3> jiggster, lol.
<4> that's why this is a discussion channel?
<0> Awe.. i wanted to pay someone money for somehting in private.
<7> !+g7
<8> Guideline #7) No spam, bots, scripts, trolls, job postings (includes asking for work), advertisements or onjoin/away/back messages.
<4> i'm not complaining, i just dont understand that particular rule
<2> go to a strip club them myconid :P
<2> then*
<4> anyway, it's ice cream time. back in a few
<0> awesome..! my userinfo page got hijacked for the first time ever on wikipedia!! im so proud
<3> Jymmm to the rescue :P
<2> it's about time
<3> firefly_, mmm, ice-cream. I ought to get some too now. :|
<2> i can't fill in allll the time
<2> mmm ice cream, i think i'll go grab a beer
<4> back
<4> yes you should spyro_boy
<4> dutch chocolate
<4> mmmh ^_^
<3> firefly_, ack..I'm trying to read up preg_match and you're making me get an urge to get ice cream..
<3> 0.o
<2> i prefer swede blonde's
<4> preg_match('ice cream', $store["7-11"], $bowl);'
<9> Good Night!
<2> if(function_exists('ereg')) { die("spyro_boy and ereg sittin in a tree, m-a-t-c-h-i-n-g"; }
<10> nooo
<3> lol
<10> if(function_exists('ereg')) { die("spyro_boy and ereg sittin in a tree, m-a-c-h-i-n-g"; }
<10> that way it still fits :)
<11> how can I comment a whole section in a certain file that contains html and php code ?
<10> /* */
<2> fits? :P
<3> CVirus, you can't do a combo.
<11> itrebal: HTML can be comment with /* */ ?



<11> commented*
<3> <!-- start comment and //--> end comment for HTML, and /* start and */ end for PHP
<11> spyro_boy: Thanks
<3> CVirus, no problem.
<2> who actualy documents their code semi-fluently?
<3> jiggster, what do you mean?
<3> Semi-fluently..
<2> or who comments their code out well?
<2> anyone? :P
<3> jiggster, oh. I would if I had the patience.
<2> heh no doubt :\
<3> jiggster, I've commented the stuff I'd forget how it'd work.
<2> i probably should, i forget what all my crap does
<10> holy crap! i've gotten like... 24 cubes in place on my Rubiks cube!
<3> jiggster, I've done it before where I coded this HUGE script and then came back to it and was like, 'woah what the hell..' and then, then did I choose to comment it after an hour and a half of figuring it out again.
<3> jiggster, me too.
<2> ./* This is a variable that has a value */ $name = ""; <- that would end up being me no doubt
<3> itrebal, haha, still going at it?
<10> spyro_boy: yea :)
<3> jiggster, rofl.
<3> itrebal, hah, nice. My sister was into rubix cubes. I'm just too lazy to go buy one. :P
<2> i've caught myself writing more @todo's than code or stuff that i'm not going to be revising dramatically
<12> how would I extend a variable? I know it involves a dot.
<2> concatenation, $var = $something . " add this on to \$something";
<12> $thing = "cna", $thing = ."tvh", so then $thing would equal "cnatvh
<12> I don't remember.
<2> or, $something .= "this adds to \$something";
<12> oh okay, thanks.
<2> can't remember that... and he's writing "code"? I prefer not to imagine what it might be
<2> granted i can't remember a lot of function parameters or their order :P
<10> and that went down the drain..
<13> Is there a way to mysql_escape_string so that mysql will accept something with a ' in it but also will stripslashes ?
<2> hm?
<10> my cube died :(
<2> are the cube colors printed or stickers? i wont tell if you dont
<10> haha
<10> well..
<14> anyone who have a query cl*** they can share with me? I am trying to make a cl*** which handles queries
<2> not much fun to cheat on that sort of thing though, it's like the special Olympics, you've won... something, you just can't put your finger on it
<10> haha
<3> brb.
<2> the six sided three-tile wide 9 style divide, many people've tried, but you'll prolly be denied, the rubics cube, played with by lonely men just as much as a woman plays with her boob
<15> Anyone here installed the Image/Graph Pear module? For some reason, Image/Color crocks on installation saying it needs gd
<15> but I have gd installed
<2> sal002: you know for sure? which version of gd do you have, and which version is it requesting?
<15> it doesn't say...where can I find that info?
<16> sal002, check output of phpinfo()
<2> phpinfo(); will yell you
<15> basically I am trying to create a candlestick chart from postgres data
<15> I have gd version 2.0 or higher there...not sure what the Pear module is looking for
<2> hmm
<15> I am just looking for a basical library that will generate candlestickj charts - is Image / Graph the way to go?
<2> i dont know anything about it, to be honest
<15> hmmm...I wonder if I can tell pear to debug the output on the install so I can see what it is asking
<17> http://www.php.pastebin.com/569651 why is that foreach giving me a problem, is it because its not recognizing the function as hasher as an array?
<18> Open source equivalent to QuickBooks?
<5> whiteline: The argument $hash needs to be an array.
<5> whiteline: If the error message says "invalid argument to foreach", it means you didn't p*** an array.
<5> whiteline: Note that a string is *NOT* an array in PHP.
<5> whiteline: Also, the second line of that function makes *zero* sense. You create a copy of something p***ed in by reference, but do nothing with the copy?
<18> Davey: you still working on cerebral cortex?
<6> Davey is now working on the Zend Framework I think :P
<18> Just kidding :)
<6> I'm curious too, if Crtx is still maintained :P
<6> Davey: Should work, cause it probably works in Python too, and it damn well works in Ruby... '' should always work :(
<6> Actually, preg_split does it :P
<5> The correct way to do it in python is "for letter in string:"
<19> kuja: Crtx is no longer maintained
<6> Davey: Aww
<19> kuja: however ideas and some of the code should be resurfing in the Zend Framework ;)
<5> kuja: He let Zend scare him off. :)


Name:

Comments:

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






Return to #php
or
Go to some related logs:

pptp configure suse10.1
#css
linux SDL setpixel
fc5 no screensaver
#gentoo
#perl
apt-get install nbsmtp
#python
#math
ALC658 kernel



Home  |  disclaimer  |  contact  |  submit quotes