Subject:*
Name/Email:*
Message Icon:*
Message:*
url email imgsrc image php hide code quote
English Nederlands 
SAMPLE
alignleft aligncenter alignright bold italic underline linethrough   


 [more...]
Options:*
 

 

 
     
Re: Magic quotes: Tool of Satan or safety net for imbys?

by Will on 2009/9/15 9:25:14

well.

Quote:

Warning

This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 6.0.0. Relying on this feature is highly discouraged.



Anything that uses the word "automagically" in its description - needs to be shot and drug behind a car for a few weeks.

http://us.php.net/magic_quotes
Magic quotes: Tool of Satan or safety net for imbys?

by Madfish on 2009/9/15 4:46:55

Just found that my server has magic quotes enabled. I've been looking at data sanitisation and validation lately, and my books pretty much say 'magic quotes are evil turn them off'.

Which is fine if the software (think modules) you are running properly escape and validate data, but as we know sometimes they don't.

So what to do - leave it on, or turn it off? What do you do?