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



Comments:

<0> mysql_query if this results in an error (false) how do I read that error?
<1> anybody familiarized with pear mdb2_schema ?
<2> Servo888: php.net/mysql rtfm
<3> is there a way to execute sql from a remote locaiton using phpmyadmin?
<4> KingDavid: #PEAR
<5> Servo888: mysql_error()
<3> instead of downloading and then uploading
<2> frenzy: use mysql cli
<2> phpmyadmin is for ****ers
<4> frenzy: #phpmyadmin
<0> lotus_anima, ok will give it a try
<6> winmutt: mysql cli is for ****ers, use mysql query browser
<2> caffinated: gui's are for ****ers.
<7> I my mysqlcc
<7> er
<7> I use mysqlcc



<2> mysqlcc??? googling
<6> AcidReign: they deprecated it in favour of mysql query browser
<7> I've no idea why mysql stopped developing it
<7> caffinated: they're idiots
<0> winmutt, why is phpmyadmin for ****ers?...
<7> caffinated: mysqlcc is perfect for all my needs
<6> AcidReign: the new one is arguably better.
<8> AcidReign: You can't fix stupid.
<7> caffinated: whoever argued that is an idiot too :-)
<9> It's foreeeeever.
<7> (atleast what I've seen)
<6> AcidReign: I guess you've never actually used it then.
<7> maybe I missed something
<0> I don't want to start an argument - but people should use what they feel most comfortable with...
<10> what code would i see to make a log file of who came to my site in to a ip list ?
<8> mattmcc: LOL - He was the grand marshal at Nascar last week
<7> all I've seen is something with most features *REMOVED*
<7> and none added
<6> AcidReign: that's because they made all the server administration BS a seperate program
<7> caffinated: right, so now I have to have two things running at once, all the time
<7> caffinated: this is stupid.
<6> AcidReign: you hardly need the administration program running all the time
<5> i'm calling a method from inside another method using: $this->methodName(); and it's saying the method doesn't exist, though i have implemented a __call(). any tips?
<8> mattmcc: Have you seen Carlos Mencia?
<6> besides, the admin program is better too.
<7> caffinated: s/you/I/ in that statement, as you have no idea what I need :-)
<9> Jymmm: Once or twice.
<6> AcidReign: if you're always in the mysql admin program, you're doing something wrong. all the time. :P
<8> mattmcc: He's my hero! turn on speakers... http://www.carlosmencia.com/
<11> hi.. i want to learn PHP, where can i get good documentation to newbies?
<8> mattmcc: Direct link (listen) http://carlosmencia.com/main.php
<6> Sier: http://php.net/tutorial
<11> thank you
<11> caffinated complete?
<6> Sier: try it and see
<11> ok
<7> caffinated: if you are doing db administration, how is it wrong to be using the mysql admin program? this is illogical.
<12> is there any way to use print_r() and have it sent to a file?
<6> AcidReign: it's not wrongn to use it. it's wrong to run it constantly. mysql-administrator is like root - you use it when you need it. not all the time.
<13> if you're just trying to log: http://pear.php.net/package/Log/
<7> caffinated: I use it as often as I need it
<6> AcidReign: besides, at this point i'm getting the impression you're arguing for the sake of arguing ;)
<7> and I have to create a user, and set permissions every time I create a database...
<7> caffinated: you're probably right, I think I'm avoiding work :-(
<4> Jymmm: rofl
<6> AcidReign: heh
<6> AcidReign: it's ok, i don't argue as much as I'd like anymore :(
<6> work gets in the way of that
<8> Lateralus: Now you know why he's my hero. no bull****!
<14> hi
<4> Jymmm: heh
<14> is it possible to have a second constructor with parameters for my cl***?
<7> ldas: you can only have one constructor
<9> ldas: No, but a function can have parameters with default values.
<14> ok, that should do it
<8> Lateralus you HAVE to listen to the "lowed the standards"
<8> lowered
<15> I've been having some problems with switches. I'm trying to do switch($status[0]), but I guess I can't use arrays in a switch?
<9> Yes, you can.
<12> richjkl: look for a bug elsewhere, make sure there is something in that array



<4> Jymmm: hahahahaha
<4> Jymmm: Straight-As!
<16> how to make PHP tell me the file and line of a given function?
<17> any one know where i can get some database php scripts?
<17> I need the user to be able to add certain things to a database
<17> like it be availabe to every one
<7> schnoodles: __file__ and __line__ ?
<17> so it ads a certain table the the website with 33 char. long
<16> AcidReign: I'm trying to edit a script and it calls a function which is listed in some included file...
<15> mattmcc: This is what I am trying to do: http://www.wetfish.net/files/switch.txt
<6> scorphus: what you probably want is a decent IDE
<16> yeah, maybe
<6> scorphus: what i would do in your case is have a look at ZDE over at http://zend.com
<9> richjkl: Looks fine. I'd check to see what $status[0] contains.
<6> rather than trying to make your script tell you these things, you could use a proper debugger.
<16> yeap....right
<18> Does anyone know if there is faster function for doing batch string replaces than str_replace ?
<6> johnm1019: probably not.
<16> caffinated: is there any "community edition" or I'll have to buy it?
<18> caffinated, darn, k
<6> johnm1019: for direct string replacement str_replace is optimized the best.
<6> scorphus: go to the site and find out
<9> Jymmm: Heh. I think "Visiting Mom in East LA" is better.
<6> scorphus: i suggested it because it may meet your needs, it's not generally something we offer any level of support for.
<9> Jymmm: "Dude, I've got time. I always come early."
<18> caffinated, ok -- did not know that ---- its taking over 10 seconds to match and replace a string that is 10 char long with 3-15 replaces to perform :-\
<19> hi guys
<16> caffinated: thanks
<8> mattmcc: I KNOW the chp office he's talking about too =)
<6> johnm1019: in a string how big?
<19> is there any function to print foo as Foo ?
<18> caffinated, the string is between 20-200 characters
<6> johnm1019: then there is something seriously broken in your code
<18> caffinated, my thoughts exactly :-\
<9> YazzY: http://php.net/ucfirst
<19> mattmcc: thanks
<18> caffinated, its an AJAX thing, and it queries IMDB, but when i take out the string replaces (to fix the URLS) it performs quite fast
<6> johnm1019: 15 replaces on a string that size should not even take 1 second to perform
<6> johnm1019: you are most definatly doing something else wrong
<20> Hello, I am having an issue trying to use mail(). I have performed searches on google and cannot find an answer to my question. I thought someone here may be able to help. I have a php form I have a mail() in it and it is also submitting it to the MySQL database. When I first load the page it is sending me an email with blank fields and after I submit it is sending me an email with the fields filled in.
<18> caffinated, oh interesting, i had an extra <li> tag around the whole thing, yet it was still displaying correctly, once itook that out it seemed to fix the speed issue, maybe the CSS render was getting confused
<6> johnm1019: even using regex, which is comparably slower it would not take that long.
<20> Is there a way to stop it from sending me the email when I first load the page?
<21> hi everybody, is there a visual ide for php-gtk?
<22> hi
<22> why this happens on linux
<23> chaplin: does php-gtk support glade?
<24> chaplin: you can use Glade
<24> ||cw: heh :)
<24> ||cw: there is a glade visual editor
<19> mattmcc: perfect, thanks a lot
<22> i have code $num = rand(); echo $num; exec("mkdir $num");
<21> ok!!
<24> I'll tell you more when I've read Pro PHP-GTK for review ;)
<21> thanks
<9> "Pro PHP-GTK"?
<22> and create dir like
<22> 1079378377
<24> mattmcc: a book...
<23> Davey`: yeah, I've used it with ruby, had only a little sucess, can't tell if it's was glade or just ruby's bindings
<22> and echo 107937837729051
<22> why it;s dufferent ?
<24> can anyone hit wizlite.com ?
<25> why do you exec a mkdir when you can use mkdir
<22> well .. same with p***thru()
<22> it just dont create dir like it echo's
<23> koye: what about with mkdir()
<22> hmm i didnt try mkdir()
<22> just a sec to check
<23> koye: and what filesystem are you doing the mkdir on, a posix one or something like fat16
<22> it;s posix
<26> Hi all, a mate of mine's got some sort of Apache .conf problem. When he navigates to localhost/file.php ( which just has <?php phpinfo(); ?> in it ) the browser opens multiple tabs, loads & loads - endless !! Anyone come across apache trying to serve the same php document endlessly ?


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#fedora
rewrite_tags php
#gentoo
#kde
#web
#perl
mplayer unmountable_boot_volume
#lgp
how to use lambda in python
#linux



Home  |  disclaimer  |  contact  |  submit quotes