note 12268 modified in function.addslashes.php by philip
| From: | philip@php.net | Date: | Mon, 27 Aug 2001 13:04:23 +0000 |
| Subject: | note 12268 modified in function.addslashes.php by philip | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17204@lists.php.net to get a copy of this message | ||
As mentioned, magic_quotes_gpc automatically adds slashes to POST and GET data and these slashes
don't go in the database. BUT, be careful of this. If you have a form with an error check,
make sure you strip the slashes if your form remembers the OK fields, so the user doesn't view
these automagically added slashes.
http://www.php.net/manual/en/function.addslashes.php.php