note 64494 deleted from security.globals by philip
| From: | philip@php.net | Date: | Fri, 28 Apr 2006 16:46:09 +0000 |
| Subject: | note 64494 deleted from security.globals by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-110020@lists.php.net to get a copy of this message | ||
Note Submitter: dian at kolarov dot co dot uk
----
Most of the posting here are in regards to turning off register_globals. However, dealing with a
project at the moment written with globals on and limitations in terms of httpd.conf and .htaccess,
I find the simple solution below very helpful in the situation. Hopefully temporarily.
// SIMULATE REGISTER_GLOBALS ON
foreach ($_REQUEST as $key => $value) {
$$key = $value;
}