note 34602 added to reserved.variables

From: Date: Thu, 31 Jul 2003 21:01:35 +0000
Subject: note 34602 added to reserved.variables
Groups: php.notes 
Request: Send a blank email to php-notes+get-53111@lists.php.net to get a copy of this message
To prevent people from pulling their hair out, I'd like to point out the slightly underdocumented fact that PHP, more often than not, automatically applies addslahes() to all user input, like the data in $_GET and $_POST, and what is derived from it. That means it'll add backslashes in front of every backslash and single quote. Therefore, I'd like to point towards the user notes in the section "Configuration", at <http://www.php.net/configuration>. The function get_magic_quotes_gpc() allows you to check out at runtime, if this is indeed the case. ---- Manual Page -- http://www.php.net/manual/en/reserved.variables.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34602 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34602&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34602&report=yes

« previous php.notes (#53111) next »