note 86576 added to security.magicquotes

From: Date: Fri, 24 Oct 2008 10:46:41 +0000
Subject: note 86576 added to security.magicquotes
Groups: php.notes 
Request: Send a blank email to php-notes+get-145686@lists.php.net to get a copy of this message
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. ---- Server IP: 203.88.112.190 Probable Submitter: 203.206.82.71 ---- Manual Page -- http://www.php.net/manual/en/security.magicquotes.php Edit -- https://master.php.net/note/edit/86576 Del: integrated -- https://master.php.net/note/delete/86576/integrated Del: useless -- https://master.php.net/note/delete/86576/useless Del: bad code -- https://master.php.net/note/delete/86576/bad+code Del: spam -- https://master.php.net/note/delete/86576/spam Del: non-english -- https://master.php.net/note/delete/86576/non-english Del: in docs -- https://master.php.net/note/delete/86576/in+docs Del: other reasons-- https://master.php.net/note/delete/86576 Reject -- https://master.php.net/note/reject/86576 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#145686) next »