[PHP] Question about magic quotes NEWBIE QUESTION

2004-03-01 Thread James Marcinek
Hello everyone!

Are there any concerns with having the 'magic quotes'
enabled or should I use the Add  Strip Slashes? I
will be using a database (MySQL).


thanks,

James

__
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Question about magic quotes NEWBIE QUESTION

2004-03-01 Thread Richard Davey
Hello James,

Monday, March 1, 2004, 7:09:24 PM, you wrote:

JM Are there any concerns with having the 'magic quotes'
JM enabled or should I use the Add  Strip Slashes? I
JM will be using a database (MySQL).

I wouldn't be concerned about using them at all - they're not a
security risk or anything (like register_globals). If you know the
environment you are developing for then take advantage of it. The only
reason you need to be careful is if you're writing software to give to
other people (i.e. to install on servers you have no control over) in
which case you cannot ever assume they will have magic quotes on so do
some checks first to find out (there are PHP functions to do this).

-- 
Best regards,
 Richard Davey
 http://www.phpcommunity.org/wiki/296.html

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php