note 43146 deleted from function.ini-set by philip
| From: | philip@php.net | Date: | Tue, 26 Apr 2005 20:24:48 +0000 |
| Subject: | note 43146 deleted from function.ini-set by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-88587@lists.php.net to get a copy of this message | ||
Note Submitter: jim at mookmedia dot co dot uk
----
In reply to mike at dthought dot net:
Your code did not work for me.
I think the following would work better(notice the double $).
foreach ($_REQUEST as $request_key=>$request_value) {
if (isset($$request_key))
unset($$request_key);
}
this unsets all post and get globals.
Jim