note 21324 added to language.variables.external
| From: | messageboard at spacergif dot com | Date: | Wed, 08 May 2002 13:53:30 +0000 |
| Subject: | note 21324 added to language.variables.external | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-30333@lists.php.net to get a copy of this message | ||
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.
--
http://www.php.net/manual/en/language.variables.external.php
http://master.php.net/manage/user-notes.php?action=edit+21324
http://master.php.net/manage/user-notes.php?action=delete+21324
http://master.php.net/manage/user-notes.php?action=reject+21324