note 36400 deleted from reserved.variables by pollita
| From: | pollita@php.net | Date: | Wed, 08 Oct 2003 19:40:05 +0000 |
| Subject: | note 36400 deleted from reserved.variables by pollita | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-58070@lists.php.net to get a copy of this message | ||
Note Submitter: fabrizio AT nldesign.com
----
too keep compatible the code with differents PHP versions:
if(!isset($_GET) && isset($HTTP_GET_VARS)) $_GET = $HTTP_GET_VARS;
if(!isset($_POST) && isset($HTTP_POST_VARS)) $_POST = $HTTP_POST_VARS;
if(!isset($_FILES) && isset($HTTP_POST_FILES)) $_FILES = $HTTP_POST_FILES;
if(!isset($_SERVER) && isset($HTTP_SERVER_VARS)) $_SERVER = $HTTP_SERVER_VARS;