note 28049 added to security.registerglobals
| From: | jeff at ourexchange dot net | Date: | Mon, 30 Dec 2002 23:38:13 +0000 |
| Subject: | note 28049 added to security.registerglobals | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-41498@lists.php.net to get a copy of this message | ||
Another way of registering the variables is by calling
extract($_REQUEST);
which will put everything from $_GET and $_POST into the global scope. It doesn't do anything
for sessions, cookies, etc, but then again, you can just call those from $_COOKIE and $_SESSION.
--
http://www.php.net/manual/en/security.registerglobals.php
http://master.php.net/manage/user-notes.php?action=edit+28049
http://master.php.net/manage/user-notes.php?action=delete+28049
http://master.php.net/manage/user-notes.php?action=reject+28049