@# 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



Comments:

<0> marmoute, may I /msg you?
<1> Stormchaser: ;) Yeah but your a lesser PHP god
<2> "{$bli}" is shorter than echo $bli
<3> He's more of nymph
<2> <?php echo $bli ?> I mean
<2> jonez: why not ?
<4> this is my function http://pastebin.com/545658 I use it on input data to my database but it errors about 's
<5> What exactly does Call to a member function on a non-object in mean ?
<6> sounds like you're trying to use something that's not an object like it is
<7> marmoute: Shorter != Better. Most of the best programmer I know use long variable names, and long function/method/cl*** names.



<8> [ERX]JavaDog: given $foo->bar, $foo is not an object.
<9> how my templating looked like: http://pastebin.com/545660
<8> ralle89: that's a pointless function. It returns the original string.
<2> jonnay: I agree you
<4> oh yeah.. I forgot.. thanks
<3> ...
<3> :|
<2> but in the exemple below
<10> How can I get the value of an array to be the key to another array.. (on 1 line) ie. $result = $arrayA[$arrayB['key']]; ?
<11> Good morning
<3> cube: Exactly like that.
<2> on <?php echo $bli ?> only '$bli' is usefull
<2> 1/4 of usefulle char
<2> the rest is pollution which reduce readbility
<11> when creating an instance of a cl***, do I need to free / delete allocated memory? or does php handle this?
<3> <?=$bli?>
<3> closer to half
<9> Pollita: *IF* you have short_tags on
<3> closer to 3/4 when you consider that your template system still need SOME delineation
<3> Stormchaser: Yes, but if the only concern is to make the code smaller, then turn it on
<9> Pollita: eek!
<11> hmm I either asked a hard question or a stupid question :/ me thinks the latter
<12> Im looking into Exceptoins and i dont really understand how i can implement it into a error handling script. any one has an example code or something ?
<3> So in order to save...what? 3 characters per echo, you suggest creating an entire language?
<8> Think there will ever be a somewhat-short tag setting, where <?= is valid, but <? is not?
<13> i am ahving a problem getting my access to my php files....apache keeps asking me to save or open a php file....what do i need to change in my apache config?
<3> CryWolf: Been discussed and tossed out as <?= is not valid XML/PI
<7> threat: nope, PHP is garbage collected, so in general you odn't have to worry. If you are instantiating big objects, you might wnat to manually make all object references null
<1> junix: look at your httpd.conf or your modules.conf and make sure that your loading your php module into apache
<13> ok
<13> thanks
<3> ~+at
<3> erm
<3> !+at
<14> For Apache to be able to parse your .php files, you need to add this line to your config "AddHandler application/x-httpd-php .php". To make .phps files work too, you need to add "AddHandler application/x-httpd-php-source .phps" also. You must restart Apache after adding either or both of these lines.
<1> and that
<13> lith: LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
<13> its loading
<1> junix: then do what pollita said
<11> jonnay, thanx



<4> this is my function http://pastebin.com/545670 I use it on input data to my database but it errors about 's
<15> Morning
<13> thanks!
<11> caffinated, get some sleep!
<16> threat: sure, right after you figure out how to spell 'thanks'
<1> man i've had 4 energy drinks already and its only 3pm :/ I'm starting to think that I have an addiction
<3> caffinated: He's using a lossy compression algorithm
<3> lith: I do 5L+ of pepsi/day
<3> You have no idea what addition is
<8> 2+4
<1> Pollita: *HOLY GOD* that is serious! Dr. Phil would have a field day with you :D
<3> Dr. Phil can kiss my pasty ***
<1> ;) pasty
<13> Pollita: ist still doing, its asking me to save my php files
<17> Did you restart apache?
<1> junix: Did you apache(ctl) restart?
<13> yes
<3> Then (A) You skipped a step, or (B) Your installation is horribly broken
<13> ok
<11> caffinated, I chose to save my self typing in two redundant chars, however since I am now explaining my self to you I have lost all of the advantages that comes with skipping those two chars
<13> Pollita: AddHandler cgi-script .cgi .sh .pl
<13> AddHandler application/x-httpd-php .php
<16> threat: They're not redundant though. It's how you spell the word.
<13> in that section right?
<4> whats difference between mysql_escape_string and addslashes ???
<7> junix|work: Try checking your apache error log.
<13> ok
<3> yes
<1> thread: and now you've explained yourself with like 80 charactors ;) i'd trade the 2 in for those 80
<11> caffinated, they are redundant if you can still understand what I am saying without using them
<1> vice versa
<3> threat: 1 character.... learn to subtract
<11> caffinated, stop being a spelling nazi
<16> threat: So, what you're saying is that we should just translate every sentence in to your own brand of stupidity?
<3> threat: Stop bitchslapping the english language. Have some pride man
<11> Pollita, 1, 2, whatever
<6> buckle my shoe
<16> heh
<3> Oh, so not only do you not respect english, you think math is a joke too?
<18> hey everybody, someone on here knows in detail how the mersenne twister in php is implemented (well I can look at the code on my own, but I'd like some more information)?
<11> caffinated, if its readable, why not
<13> jonnay: the log showed nothing
<7> ralle89: addslashes() is a general slash-adding function. mysql_escape_string() will add the appropriate slashes for mysql
<17> threat: Because it's stupid and childish.
<11> Pollita, lol, I am just not formal on IRC :)


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#php
#css
vlc center channel windows
#web
#linux
#css
openzaurus torrent
python2.5 pygtk
#linux
gnome-applets-data permission denied



Home  |  disclaimer  |  contact  |  submit quotes