note 34704 deleted from language.variables.predefined by didou

From: Date: Mon, 04 Aug 2003 22:04:23 +0000
Subject: note 34704 deleted from language.variables.predefined by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-53354@lists.php.net to get a copy of this message
Note Submitter: CoderGurl ---- Wouldn't adding variables to the superglobal $GLOBALS make them global. :P EX: <?php $GLOBALS['_GET'] = &$HTTP_GET_VARS; $GLOBALS['_POST'] = &$HTTP_POST_VARS; $GLOBALS['_REQUEST'] = &$HTTP_REQUEST_VARS; $GLOBALS['_COOKIE'] = &$HTTP_COOKIE_VARS; $GLOBALS['_SESSION'] = &$HTTP_SESSION_VARS; $GLOBALS['_ENV'] = &$HTTP_ENV_VARS; $GLOBALS['_SERVER'] = &$HTTP_SERVER_VARS; $GLOBALS['_FILES'] = &$HTTP_POST_FILES; ?> * I was not able to test this on my server, so this was just a wild guess.

« previous php.notes (#53354) next »