note 86576 deleted from security.magicquotes by danbrown

From: Date: Fri, 24 Oct 2008 13:50:13 +0000
Subject: note 86576 deleted from security.magicquotes by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-145693@lists.php.net to get a copy of this message
Note Submitter: Jem Reason: useless ---- Magic quotes! More like voodoo in my opinion, after wasting 2 days wrestling with stripslashes etc, when all I had to do was turn magic quotes off - my code was already escaping them before sending them to the db, so no problems there. It's a pity there's no way of knowing when such safeguards are no longer recommended, when leaving them in place can interfere with good coding practices that made them unnecessary in the first place.

« previous php.notes (#145693) next »