note 59375 deleted from security.magicquotes by betz
| From: | betz@php.net | Date: | Mon, 05 Dec 2005 09:21:10 +0000 |
| Subject: | note 59375 deleted from security.magicquotes by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-99578@lists.php.net to get a copy of this message | ||
Note Submitter: wiseman at nonofyour dot business dot co
----
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.