On Monday 22 July 2002 13:46, Monty wrote:
> 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.

$HTTP_SERVER_VARS was never a superglobal. $_SERVER is a superglobal but only 
available on php 4.1.X or above. Read the docs for the details.

Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

Unprovided with original learning, unformed in the habits of thinking,
unskilled in the arts of composition, I resolved to write a book.
                -- Edward Gibbon

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to