note 59375 added to security.magicquotes

From: Date: Mon, 05 Dec 2005 08:56:18 +0000
Subject: note 59375 added to security.magicquotes
Groups: php.notes 
Request: Send a blank email to php-notes+get-99573@lists.php.net to get a copy of this message
Magic quotes is the worst feature to ever hit PHP. Quotes are already insane as they are because of the way they have to be recursively escaped (using the same character for opening and closing proved to be a really bad idea, quotes are inherently flawed); magic quotes adds to this insanity. Because of it, and because of the different server configurations, you better wrap all quote operations in your own functions (which is slower and more work), and the only way to be 100% sure that you're doing it right is trial and error. ---- Manual Page -- http://www.php.net/manual/en/security.magicquotes.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+59375 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+59375&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+59375&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+59375&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+59375&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+59375&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+59375&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+59375&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+59375&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#99573) next »