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



Comments:

<0> no wait, there'd have to be static methods too
<0> **** it, I'm going to think about it later... when I'm not busy working ;)
<1> there's no need to declare them as static
<2> mattmcc: I use mysqli_query() and it raises an 'mysqli_sql_exception' now, which is not cought, but fatal, so the script stops.
<1> php4 lets you call any method statically
<0> Owner: and publically
<1> php5 let's you impose that a method can only be called statically
<0> I hate how everything is public in PHP4
<3> Eh, it's harmless.
<4> Ci-Dev: is it a bad query causing the exception?
<1> mattmcc, until some external developer comes along and ****s it up ;)
<5> Kog: haha
<1> "NOW LOOK! You done ****ED IT UP!!!"
<0> piclez: why is that funny
<2> SDE, yes, a bad query.
<0> piclez: it makes me want to cry



<0> piclez: you haven't met the people I'm working with...
<2> Actually, a good query, but mysqli object is null.
<3> Owner: I have a standard response to that. Either 1) I'm responsible for their ****up, and therefore have the authority to slap them, or 2) I'm not responsible for their ****up, and therefore don't care.
<0> Owner: it's also not very OO without protections like that
<5> Kog: me too. wow really?!
<3> Kog: Categorical nonsense.
<0> mattmcc: or cheap hack on the part of OO in php4
<6> kuja WAKE UP!
<0> mattmcc: call it what you will
<3> It's no less object oriented just because it doesn't have compiled in prevention of people doing stupid things.
<1> mattmcc, I always go with number 2, since I believe that any developer should realize if they access a variable likke $foo->_db; they are doing something wrong ;)
<3> The patterns are still just as effective.
<7> Jymmm: http://www.meccano.us/difference_engines/rde_2/index.html
<0> mattmcc: but there's no data hiding
<0> it also weakens encapsulation
<3> Kog: Indeed, the responsibility falls on the developer to not do stupid things.
<1> I've implemented many patterns in php4, it's often hackish, but it works
<0> mattmcc: yes, but if the world was ideal we wouldn't need a lot of the tenents of OO
<3> Which brings me back to my standard response.. :)
<0> mattmcc: in the meantime, we live in this world, with plenty of idiots
<6> itrebal: I can go visit that museum, about 15 minutes away
<0> mattmcc: yeah, your standard response is great... it ensures awesome quality of programs
<8> listen to me plz...i want to have a complex search with many fields..I want to be able to make a search when _at least _ one field is not empty..So i will check all the inputs and i will have as many vars as the fields..when a field is not empty the var will have a specific value.if a field is empty i will give the var a pattern that means _ALL_ (% ??) ..at thhe end i ll make a select l
<8> ike this: select * from table where id = 'tmp1' and id = 'tmp2' ...and id='tmp3' .Tell me your opinion plz
<0> mattmcc: part of the reason that paper was written, was that there's a NEED to constrain such things
<9> Psycho-MaN: i lost interest on line 2 char 8
<8> ?
<2> Psycho-MaN: id cannot be tmp2 *and* tmp3 at the same time.
<7> Jymmm: what museum?
<0> Psycho-MaN: my advise to you is a long OR chain
<8> ahmm sorry
<8> wrong syntax
<0> itrebal: the computer history museum in downtown SJ
<6> itrebal: read the damn url you gave me =)
<0> Psycho-MaN: the syntax was fine, the idea was incorrect
<6> MV
<6> Mountain View
<9> very nice place mountain view is
<8> select * from table where id= 25(if the id text is filled with 25) and name = _ALL LISTED NAMES_ (if name field is empty) ... etc
<0> oh yeah... just saw that
<0> Psycho-MaN: go through a while loop, or some other control structure and concat a string together of OR statements
<10> ||cw you still there :-D?
<8> Kog i cannot understand that...is there any pattern tha means _ALL_ such us *?
<7> Jymmm: its not in the museum..
<0> Psycho-MaN: I've given you a hint, go read up on SQL
<7> Jymmm: it *was* there, but its not
<7> (anymore_
<0> Psycho-MaN: although, you might want to build an IN as well
<6> itrebal goony goo goo
<11> oh man
<11> my stupid amd is giving me grief
<8> Kog if there is a pattern such as i tell you then it would be much easier....
<11> trying to run kde, but it's about as reliable as as a car with no wheels
<9> Psycho-MaN: a pattern for All is no pattern matching
<0> Psycho-MaN: I've told you all I'm going to say
<0> Psycho-MaN: I have my own problems to get back to... I'm at work right now
<12> what happens if i dont use mysql_free_result
<4> i have a soap object with ssl context. is there a way to retrieve the remote cert subject from the ssl resource in the soap object?
<4> thought it wouldn't hurt to ask again.
<4> i haven't found anything that shows php being able to retrieve a remote cert, so i think the answer is no.
<13> can someone pls have a look at this code, at http://pastebin.com/575879 for some strange reason it says database error when I try to run it and says "unknown field" state



<12> how can i have php not warn about not freeing mysql result sets but let all other warnings through
<14> this is really rather annoying, I can't talk to a support rep, nor can I code anything...
<7> GregVernon: ?
<4> albo: is it a warning and not a notice?
<14> I get server 500 errors like its my job
<7> GregVernon: have you messed with .htaccess?
<14> yeah, but not in the directories I want to use
<12> SDE: its a warning. but be careful how you answer my question cause i did ask a specfic one
<4> albo: w/e man. some people don't know the difference. forget it.
<14> the apache log says "the directory is writable" when I chmod it 555, it just doesn't do anything.. just sits there like the lame server it is....
<7> hehe
<0> GregVernon: I'm not really sure why Apache would care
<14> and by lame server I mean the box, not apache
<0> GregVernon: unless you're running some sort of altered security
<14> idk, I'll have to find a support rep
<14> there is like all of 1 person who I know of
<0> GregVernon: this is why you shouldn't rent boxes that don't give you SSH access
<0> GregVernon: never. ever. work on a box you don't have SSH to
<14> I have his personal info, but he isn't available....
<14> heh, I get it for free
<0> who cares
<0> if you can't use it, why bother
<7> its...free?
<0> itrebal: if it ****s and it's free, it still ****s
<14> yeah, they lost all the data like 2 years ago
<7> if it ****s, and its free, and your poor, its great
<14> it was down for like 3-4 weeks, everyone that stayed on got free hosting...
<15> Umm, I just did an apt-get install php4-curl. What's next? :>
<10> ok...myFunction returns $myURL, which = "http://www.".$myArray[$randomNumber].".com";. the variable constructs fine outside of the funciton, but when its within a function it doesnt seem to process the array part
<14> I wouldn't pay the 4 (16 for what plan I'm on) dollars for regular service tho...
<4> arpegius: are you p***ing the array into the function?
<10> SDE the array exists within the function
<10> http://pastebin.com/575891
<0> itrebal: I'm poor, and I'm going to dupe some folks into paying for me to host **** so I can rent a server pronto ;)
<16> Anyone here much of a CSS person?
<17> = P hi!
<0> (the company "Server Pronto" that is)
<16> Eh, wrong channel... my bad.
<18> hey folks - I have mediawiki installed on apache2 with mod_php5
<17> hey anyone in here familiar with ajax and may beable to make a simple gmail styled instant messenger?
<7> Kog: hehe, i just setup my own box
<18> each pageload takes a very long time - looks like it's hammering the cpu during these times
<7> Koncept: look into the meebo.com code
<18> is it maybe reparsing mediawiki entirely every time?
<0> itrebal: I have my own box
<7> Kog: i mean... my own box as my server
<0> itrebal: I have several, but I want a real, honest-to-god server for a change
<17> i have a chat like that
<18> is there anything I can do to figure out what the slowness is?
<17> i have a chat
<17> but i need one like gmail wich incorperates more functions
<7> uhh... like what?
<0> itrebal: my roommate also runs a box that I u se... but I want a real server, sitting in a real noc
<0> itrebal: and not on a upc in my living room ;)
<17> well err hard to explain
<7> Koncept: this isnt the place to ask, btw, itd be #web
<19> Koncept: you look like you belong in kde somewhere
<19> :P
<17> ?
<7> Kog: my servers in an noc :)
<0> itrebal: ah, I suppose I could use my company's server... I do basically everything on it
<17> i was here yesterday helping people with stuff and today i cant get help myself >_>
<17> lol
<0> itrebal: check this out: my company is going to go from Gentoo at Aplus.net to FC2 at Godaddy
<10> whats a noc, out of curiosity?
<0> itrebal: if that ain't just stupid as hell, I don't know what is
<0> arpegius: network operations center
<17> im just not to familiar with ajax
<7> Kog: i'm buddies with a network guy at Lockheed Martin, and its sitting over there
<0> Koncept: AJAX is simple... you do the http req, and inject it into a div
<0> itrebal: can he be my friend too?
<12> im not using mysql_free_result but the php manual says that at end of execution the results get freed. so why is php warning me that 4294967294 result set(s) not freed
<7> Kog: hehe, hes moving soon so thats not gunna last long :(
<0> itrebal: I'm a friendly fellow


Name:

Comments:

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






Return to #php
or
Go to some related logs:

site:www.quotesdb.info gentoo emergePackageError
#mysql
cisco_ipsec invalid module format ubuntu
gentoo zap firestarter
emerge superkaramba kdebase
m2358ea gentoo
#oe
cups problem +ubuntu +password
#perl
adp94xx dd redhat



Home  |  disclaimer  |  contact  |  submit quotes