note 17869 added to function.import-request-variables
| From: | php-general at lists dot php dot net | Date: | Sun, 30 Dec 2001 00:40:09 +0000 |
| Subject: | note 17869 added to function.import-request-variables | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-23950@lists.php.net to get a copy of this message | ||
As of 4.1.0, there has been a change that automatically puts all GET, POST, and PUT variables into
ALL scopes. They are automatically imported as $_GET['varname'],
$_POST['varname'], $_PUT['varname']
There are also: $_ENV['varname'] $_SERVER['varname'] and more...
Please use the new syntax for accessing these foreign variables as the old syntax will be phased
out.
--
http://www.php.net/manual/en/function.import-request-variables.php
http://master.php.net/manage/user-notes.php?action=edit+17869
http://master.php.net/manage/user-notes.php?action=delete+17869
http://master.php.net/manage/user-notes.php?action=reject+17869