$HTTP_SERVER_VARS not accessible in Functions

From: Date: Mon, 22 Jul 2002 05:46:11 +0000
Subject: $HTTP_SERVER_VARS not accessible in Functions
Groups: php.general 
Request: Send a blank email to php-general+get-108821@lists.php.net to get a copy of this message
I'm trying to access some settings in the $HTTP_SERVER_VARS[] array, but, within a custom function() this array appears empty. In the calling script, however, the $HTTP_SERVER_VARS[] array is defined. I thought this was supposed to be "superglobal" and available on every level? If not, is there another command I can use? I also tried $_SERVER[] but this appears to be always empty no matter what level I call it on. Thanks. Monty

« previous php.general (#108821) next »