note 31860 added to function.addslashes
| From: | Sply at rack1 dot php dot net | Date: | Tue, 06 May 2003 22:52:17 +0000 |
| Subject: | note 31860 added to function.addslashes | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-47605@lists.php.net to get a copy of this message | ||
You should use htmlspecialchars() to save quotes and doublequotes in html form fields - addslashes,
urlencode/decode is wrong way.
--
http://www.php.net/manual/en/function.addslashes.php
http://master.php.net/manage/user-notes.php?action=edit+31860
http://master.php.net/manage/user-notes.php?action=delete+31860
http://master.php.net/manage/user-notes.php?action=reject+31860