note 41874 added to language.variables.variable
| From: | php-general at lists dot php dot net | Date: | Sat, 24 Apr 2004 11:59:54 +0000 |
| Subject: | note 41874 added to language.variables.variable | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-68722@lists.php.net to get a copy of this message | ||
* NOTE *
* NOTE *
* NOTE *
The superglobal arrays
* CAN *
* CAN *
* CAN *
be accessed via variably-named variables, at least in PHP 5 RC1.
This had security implications for some code I was working on to combat register_globals. Moral of
the story:
* ALWAYS *
* ALWAYS *
* ALWAYS *
check thoroughly for yourself what the manual tells you.
----
Manual Page -- http://www.php.net/manual/en/language.variables.variable.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+41874
Delete -- http://master.php.net/manage/user-notes.php?action=delete+41874&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+41874&report=yes
Search -- http://master.php.net/manage/user-notes.php