note 21324 deleted from language.variables.external by alindeman

From: Date: Wed, 08 May 2002 20:37:35 +0000
Subject: note 21324 deleted from language.variables.external by alindeman
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-30346@lists.php.net to get a copy of this message
[Ed. note: $HTTP_*_VARS are NO superglobals, only $_SERVER, $_POST, $_GET, $_REQUEST, $_SESSION, $_COOKIE are superglobals. Therefor you DO need global on the $HTTP_*_VARS, but not on the real superglobals. ] Note: When using the magic superglobals (i.e. $HTTP_SERVER_VARS) inside a function, you still have to declare them as "global" inside the function source. This is counterintuitive -- you'd think that the built-in variables would automatically have universal scope -- but necessary.

« previous php.notes (#30346) next »