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

Reply via email to