note 8177 added to Predefined variables
| From: | maxim at maxim dot cx | Date: | Wed, 30 Aug 2000 08:47:48 +0000 |
| Subject: | note 8177 added to Predefined variables | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3650@lists.php.net to get a copy of this message | ||
NONE of those Apache variables will (as long as I tried) work inside a class, you need to use
getenv()
like
getenv(HTTP_HOST)
then it works just like the heart of a child, otherwise you would get no output at all.
Maxim Maletsky
http://www.php.net/manual/language.variables.predefined.php