@# 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> man if only geekcruises.com went through hawaii i'd so book it for my honeymoon
<1> speling ;)
<2> cruises are sad
<3> how so? ive never been on a cruise
<2> bit of advice, don't take a cruise for a honeymoon lol
<4> cruises are cool
<5> why?
<2> let's just say, it's not good for the wife
<4> they're fun and lots of stuff to do. Just went on a Disney Cruise a few months ago...family had a blast
<2> there's a big difference between a family cruise and a honeymoon
<5> moral of story: all women are different in their interests, so let them pick where you go for the honeymoon. Its not like you'll notice anyway.
<2> no has nothing to do with what they want
<2> you don't want them in that enviroment from lockdown
<6> hello... im trying to save string from a HTML form text box into SQL and it works for most text except if i type "John's Dog" it goes into the DB as "John\'s Dog" and when I try to retreive the data, it's messed up. What should I do?
<2> how do install scripts import .sql's to mysql, do they just exec them to mysql or do they actually try to parse the sql themselves?
<7> timmy2, look into strip_slashes()



<8> timmy2: search for magic_quotes_gpc and how it affects you
<7> that, too (and consider switching it off in .htaccess if you can)
<8> php.net/magicquotes
<4> mq is gone in php 6, right?
<8> yeah
<2> you should leave it like that
<2> and reverse the mysql_real_escape_string
<8> not really
<2> otherwise you're database is subjectable to injection
<8> \' should never be in the database itself, only in the query
<9> wildman: could be either
<8> not sure what you mean by "reverse the .." means though
<10> i have problems with a my psgql code
<2> remove em via preg_replace before inserting
<10> http://paste.debian.net/7202
<2> after
<9> philip: mq just does addslashes, so stripslashes then mysql escape it
<2> whatever
<10> http://tuxist.de/devel
<8> don't use preg_replace for this though
<2> there's a snippet on mysql_real_escape_string, research it
<8> anyway, we are making this sound too complicated :)
<0> yumm yumm lunch.. veal cutlet sandwich
<8> php.net/magicquotes is the best resource on the topic
<2> Example 3. A "Best Practice" query
<2>
<8> that example ***umes all input is from the http request, hmm
<10> the register button have no request function
<11> OK weird question .. Say I got the function newReceipt(), and I have an array that looks like $foo = array ( 'new' => 'newReceipt' .. ) etc, If I have the function name within the array, is there some way I could call newReceipt() by referencing the "new" key in the array?
<12> Anyone has an idea why on my localhost on WindowsXP include("../inc/header.php") works but include("/inc/header.php") doesn't? It seems to have trouble finding the root of my apache Virtual server
<13> bosko
<13> yes
<2> /inc is root
<2> ./inc/header.php is what you want
<14> ChrisC36, include() works off the filesystem
<11> cythrawll - How then?
<13> call_user_func()
<12> is there a difference in using a reference to the root on windows and linux then? Since on the live server /inc seems to lead the the inc dir from root just fine
<13> call_user_func($foo['new']);
<15> oi, when I delete and object will garbage collection pick up it's globals or should i get them in __destruct()
<15> *an object
<15> rather, an instance of an object
<16> where can i get php_java.jar for windows?
<2> no difference... . = parent dir cd .. back one directory
<12> ./inc/header.php doesn't work either
<11> cythrawll - Thanks
<2> where are you, and where is inc/header.php
<16> where can i get php_java.jar for windows?
<13> ! +repeating
<12> wildman: http://pastebin.com/753863
<12> i'm calling from home.php
<12> trying to include /inc/header.php
<9> ChrisC36: includes are form the server's file file system root, not your web root
<2> yeah that could very well be calling c: drive
<2> or anything
<2> use a full path, see what happens
<12> hmmm ... and if i define ROOT as the $_SERVER['DOCUMENT_ROOT'] and use include(ROOT."/inc/header.php")
<9> that should work
<12> then lets try that :)
<9> echo it to make sure it's right
<12> well look at that ... it works :p



<12> Thanks guys
<7> hmm.. mysql_selectdb is not in the manual but does what one would expect, is it an unofficial alias?
<4> probably backwards compat thing, like mysql_createdb, but forgotten
<4> in fact, it mentions mysql_createdb on the select_db page, typo I guess
<9> McFly: report the docs bug
<17> Anyone wanna betatest a download tracking system? More information about the system can be found at http://www.NeoeliteUSA.com/downtoad
<4> No idea where to do that at, and probably means I have to register somewhere
<9> McFly: should be a link off the add comment link, I don't recall having to register
<2> does phpmyadmin have a export to php option?
<18> #hppmyadmin, please
<18> #phpmyadmin, please
<17> Don't tell me everyone is sleeping?
<17> 495 people and almost no one saying anything
<19> Hi everybody
<7> (sssshh!)
<17> THANK YOU!
<19> I got a question about my site
<17> Shoot
<19> that seems to be acting up
<19> www.tzitut.com/V2
<18> DaveTheAve: yes, we're sleeping. Now go bug someone else.
<19> this is how it's not supposed to look like
<19> look at the orange table that is messed up
<19> www.tzitut.com/Hs
<19> this is how it IS supposed to look like
<20> Kit-Kat: #web
<19> the table, for some reason, gets messed up...
<17> yeah, this is a HTML error
<17> not php
<19> oh oh
<17> you you need to goto #web
<19> So sorry
<17> np
<19> thanks, I'll do that
<17> lata
<7> or #html
<19> cheers, later
<20> i give the poor guy 10 minutes before #web rips him apart for using a table based layout
<17> ha ha
<17> Well, I use tables because of IE on some of my sites
<7> before you know it MySQL will start using CSS instead of tables
<20> i agree with the people in web. there is no reason to have to use a table-based layout anymore
<17> CSS is better I agree
<20> if you can't make it work, it's because you don't understand CSS and browsers well enough
<7> unless you have tabular data
<18> caffinated: I'm still old-fashioned :)
<20> 'table based layout'
<7> ah ok
<20> Wolfpaws: no, you're just not educated.
<21> old fashioned is not an exuse for blind stupidity.
<22> Yes it is.
<22> Are you crazy.
<7> ("Death to all fanatics!")
<18> PseudoPlacebo: yep.
<20> it's not fanatical to do it right the first time
<20> fanatical is hanging on to a method that is clearly wrong
<18> caffinated: If I would, I'd prefered to do designing / cutting than programming :)
<21> especially when it's more complicated, difficult, harder to maintain, and uglier than the right way
<21> that's not fanatical
<21> fanatical people are not that stupid
<20> Wolfpaws: using html/css you do more with less.
<7> ehm. people still use tables because they find that easier, not more difficult
<20> Wolfpaws: ***uming you do it right
<18> ennoia: And specially, because everything looks the same in all browsers. *EVERYONE* hates that.
<18> caffinated: I know :)
<7> that's also a good reason for tables, by now most browsers agree on how to render them :)
<7> which for css will still take a while, as i understand it..
<20> Nomikos: yep. and it's a kludgy inflexable mess
<21> Wolfpaws, that argument was flawed 4 years ago when people used it
<21> it's not even funny anymore
<17> Yeah, I find that IE and Firefox display CSS wrong then you have this site that only works on FireFox which is only like 30% of the total Internet users.
<7> caffinated, yeah, well, next you'll tell me that using @ and eval() is bad


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#css
trashcant
#linux
raidautorun debian
#lisp
#sdl
Upgrade refused, exiting
ati tv 9.14 9700 recorder off
#suse
japanese fastion



Home  |  disclaimer  |  contact  |  submit quotes