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



Comments:

<0> freeone3000: if(!emtpy($_GET['var']))
<1> serrious, you can get kicked for doings these things
<2> thegh0st: I use Apache2. I reccomend it, in fact. That or jarkata tomcat.
<0> that will check if the get exists, and if there is anything in it
<2> Bizzeh: It's not a $_GET, it's a cl*** variable.
<3> Who uses vodahost for web hosting though?
<2> Bizzeh: And it's not supposed to matter if it's set or not, I declared it, and am trying to set it.
<1> freeone3000: you shouldn't be opening a database connection, running the query, then closing the database, that is known as a Bad Thing
<1> (tm)
<4> join #ada
<2> itrebal: ...Okay. So is not using free() once in a 100-line C++ program.
<2> itrebal: But I do Bad Thing(s) often.
<3> I wanna know if they include WHM with there hosting
<1> freeone3000: this is an *easy* thing to fix
<2> itrebal: Okay... How should I fix it?
<0> i can write a 1000 line c++ app without using free once



<1> freeone3000: you should look into the PEAR DB or something similar, but put the database connection into a __construct function and then close the db in __destruct function
<2> Bizzeh: I declared namespcae std in a global scope.
<1> b1n0ry: slap her arround a bit :)
<2> itrebal: And how do I destruct it?
<1> freeone3000: you make a __destruct function, and when the scripts closes - its run
<1> freeone3000: and same with __construct, except its run when the cl*** is called
<5> suppose i create a cl*** function that looks like this: function destroy() { unset($this); } and i called it. would it, basically, be a destructor?
<2> Okay, did that, didn't fix it.
<1> freeone3000: there are more underlying issues about it
<1> freeone3000: pastebin the new one
<2> http://pastebin.com/563712
<1> lines 30-34 are completly unnesisary
<1> $database_set has to be, again, $this->database_set
<1> as well as all in the open_db_conn
<6> itrebal: i dont remember you having a spelling impediment :P
<1> jiggster: you dont? i do... hehe
<5> here's a question. i just did the function that i just mentioned. why do i still have an object?
<1> jiggster: i'm working on it though
<6> me to
<1> jiggster: still a recovering aolbonics user.... i've been off it for about 8 months now :)
<7> lol
<6> yeah it could take up to a few years :(
<2> http://pastebin.com/563718
<2> There. I have $this->'d pretty much everything.
<5> heh
<6> lol
<1> Jymmm: :)
<5> i have a cl*** function that contains a single line: unset($this); but after i call it, the object still exists. any reason?
<1> freeone3000: check line 68
<2> Alright, that is now ALSO $this->'d.
<1> freeone3000: ok, now that everything is fixed (nearly) whats your problems
<2> Fatal error: Cannot access empty property in /var/www/databases.php on line 14
<5> Jymmm i'm there
<5> dud3
<8> hello
<9> "Hello, I'm Ed, and I'm an aolbonicholic"
<8> hey men, what's the problem with http://pastebin.com/563729
<8> ?
<8> It always return false
<1> Fushuing: "(09:39:18 PM) itrebal: Hello, my name is Itrebal, and I've been clean for about eight months now..
<1> (09:39:26 PM) ***b1n0ry claps"
<1> freeone3000: its $this->varname not $this->$varname
<9> 0w m7 g0dz000rzzz!!!111 h0w u ddi t4ty?!?!111/11/11/1oneoneone!!
<5> ok, you are in bad shape. even 'i' can't read that?
<9> roflwaffle
<9> i never got that...
<1> rofflcopter soi soi soi soi
<2> "oh my god! How did you do that!?"
<9> what is roflwaffle?
<2> (I hang out with godshot)
<9> what the HELL is it?
<5> it's like rofl but with syrup and whipped cream
<2> roflwaffle is, literally: R(#)FL
<8> any idea about http://pastebin.com/563729 ?
<9> ....
<9> you just confused me even more
<9> isn't it # = sharp ?



<2> itrebal: Oh, duh, thanks.
<1> Fushuing: well yea, but i guess it shows the grid-pattern, similar to a waffle
<9> don't these people get ANY education?
<5> or "pound" that's another thing it's called. or "numeric".
<9> i mean, what does R#FL mean?
<5> Fushuing roflwaffle
<9> i don't get the waffle part!
<5> pronounce rofl out. it's just a stupid chat rhyme.
<5> roffle waffle
<2> Thank you.
<2> Now it only says that mysql functions are undefined.
<9> ##PHP - For your mindnumbing conversations about AOLbonics and counter-strike kiddie acronyms which disturb your workhours which your employer pays for
<1> !tell Fushuing about ##php
<5> Fushuing yeah, only my employer doesn't pay me for work hours
<9> b1n0ry: why didn't they make it roffle boffle?
<2> Which means I get to... geechd, how do you make php work with apache2?
<2> *mysql work with php5?
<5> Fushuing what ascii symbol even looks remotely like a "boffle"?
<1> ./configure --with-mysql
<10> How do you test for the existence of a key in an array
<1> er... ./configure --with-mysqli maybe
<11> JSDude, array_key_exists
<5> freeone3000 mysql is not enabled in php5 by default if you compiled yourself. you must use the --with-mysql option on configure
<2> Nevermind, looks like apt-get install php5-mysql
<9> b1n0ry: the b?
<9> and i bet there is one looking like a bottle in webicons :/
<5> but that would not be an ascii symbol.
<9> it's an icon!
<5> i dunno, why does the saying "a bird in the hand..." use birds? why didn't they make it "a fish in the hand is worth two in the water" or something?
<9> ...
<9> is worth MORE than two in the water
<5> or "a girl in the bed is worth two at the club"
<9> MORE THAN
<9> >=
<5> Fushuing i dunno, two girls at the club vs one in the bed is a pretty even trade sometimes.
<9> i was referring to the saying
<1> i think it should be 2 girls in bed
<5> that's fun, too.
<5> what if you're married to one of them?
<1> ehh....
<5> that would take away half the adventure, i guess
<5> already explored territory
<1> exactly
<7> b1n0ry: Nah.... then you culd have your wife get you a new 2nd girl every week
<5> i had an old girlfriend do that for a birthday present for me once
<9> $REMOTE_ADDR
<5> we broke up a week later
<1> b1n0ry: yea...
<10> how can I do a foreach($_GET as $key => $value)
<10> it's erroring out on me
<5> actually, i think it was less than a week. more like 3 days or something.
<11> JSDude, whats the error?
<9> ...
<9> welll....yeah...duh it's erroring...
<5> she got jealous because i was with another girl, lol. i'm like 'you were too!'
<10> ?
<11> JSDude, What is the error.
<1> Fushuing: ... why would it error?
<10> Warning: Invalid argument supplied for foreach()
<11> JSDude, pastebin your code.
<1> JSDude: are there any $_GET's set in the URL?
<9> itrebal: he gave us no information about the array ;)
<10> yes
<1> err.... i need to re-wire the other half of the network someday
<10> it's the global $_GET array
<11> JSDude, pastebin your code.
<10> where's the pastebin?
<1> pastebin.ca
<11> ~tell jsdude about pastebin
<1> xiuan: its !tell now
<12> anyone here from Iceland by chance?
<11> itrebal, oh, thanks.
<10> http://pastebin.ca/42172


Name:

Comments:

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






Return to #php
or
Go to some related logs:

failed thunderbird install gentoo
#math
emarge command not found
#debian
inkscape add fonts
#gaim
L2TP server OpenSuSE
iKernel could not be lunch
ubuntu vlc libdvdcss shell script
Can't find string terminator !END! anywhere before EOF at Config.pm line 45



Home  |  disclaimer  |  contact  |  submit quotes