note 18614 added to function.htmlspecialchars

From: Date: Tue, 29 Jan 2002 18:51:40 +0000
Subject: note 18614 added to function.htmlspecialchars
Groups: php.notes 
Request: Send a blank email to php-notes+get-25973@lists.php.net to get a copy of this message
When sending data from one form to another, the data in the form fields also need to have stripslashes applied after htmlspecialchars, i.e. stripslashes(htmlspecialchars($field_data)) Otherwise, the backslashes will proliferate. -- http://www.php.net/manual/en/function.htmlspecialchars.php http://master.php.net/manage/user-notes.php?action=edit+18614 http://master.php.net/manage/user-notes.php?action=delete+18614 http://master.php.net/manage/user-notes.php?action=reject+18614

« previous php.notes (#25973) next »