#22493 [Opn->Bgs]: SERVER_ADDR not listed at php.net/reserved.variables
| From: | goba@php.net | Date: | Sat, 01 Mar 2003 19:13:21 +0000 |
| Subject: | #22493 [Opn->Bgs]: SERVER_ADDR not listed at php.net/reserved.variables | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969352046@lists.php.net to get a copy of this message | ||
ID: 22493
Updated by: goba@php.net
Reported By: eric at evilwalrus dot com
-Status: Open
+Status: Bogus
Bug Type: Documentation problem
PHP Version: 4.3.1
New Comment:
| The entries in this array are created by the
| webserver. There is no guarantee that every
| webserver will provide any of these; servers
| may omit some, or provide others not listed here.
That is, you need to check your own phpinfo() if those
variables are set, or there are any others... It is not
an intention to list all variables there...
Previous Comments:
------------------------------------------------------------------------
[2003-03-01 13:02:55] eric at evilwalrus dot com
When browsing the manual I noticed that SERVER_ADDR, part of the
$_SERVER/$HTTP_SERVER_VARS, is not listed on
http://www.php.net/reserved.variables. I
don't know if it is supposed
to be like this... but it would seem sensable to me to have this
variable listed on that page with the rest. I notice that not all of
the variables in $_SERVER are not on that page, so I'm assuming this
was done by design. Another one that I've noticed is SCRIPT_URI which
only shows up when RewriteEngine is on. I personally think these should
be documentated to save confusion, instead of just supprises to find
later on when looking in a phpinfo() page.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22493&edit=1