Reply New Topic
2009/9/15 4:46:55
#1
Offline
Home away from home

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

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?


2009/9/15 9:25:14
#2
Offline
Home away from home

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

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


Reply New Topic extras
 Previous Topic   Next Topic
You can view topic.
You can start a new topic.
You can reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You can post without approval.