note 54787 deleted from reserved.variables by mazzanet
| From: | mazzanet@php.net | Date: | Mon, 26 Dec 2005 00:04:10 +0000 |
| Subject: | note 54787 deleted from reserved.variables by mazzanet | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-100712@lists.php.net to get a copy of this message | ||
Note Submitter: amer at aidinet dot net
----
You can use the following code to make data passed using GET, POST, and/or Cookies available as
ordinary variables.
The following code is useful if the register_globals is set to off.
<?php
foreach($_REQUEST as $key=>$value){
$$key=$value;
}
?>