note 26868 added to language.variables.predefined

From: Date: Fri, 15 Nov 2002 11:05:18 +0000
Subject: note 26868 added to language.variables.predefined
Groups: php.notes 
Request: Send a blank email to php-notes+get-39529@lists.php.net to get a copy of this message
When you have values in a HTML form input field that contain the characters single quote ('), double quote (") or backslash (\), a backslash is added before these characters in variable ($_POST, $_GET or global variable) that come from this input field You have to apply the function stripslashes() in order to get the original value -- http://www.php.net/manual/en/language.variables.predefined.php http://master.php.net/manage/user-notes.php?action=edit+26868 http://master.php.net/manage/user-notes.php?action=delete+26868 http://master.php.net/manage/user-notes.php?action=reject+26868

« previous php.notes (#39529) next »