php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #22493 SERVER_ADDR not listed at php.net/reserved.variables
Submitted: 2003-03-01 13:02 UTC Modified: 2003-03-01 13:13 UTC
From: eric at evilwalrus dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: 4.3.1 OS:
Private report: No CVE-ID: None
 [2003-03-01 13:02 UTC] 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-01 13:13 UTC] goba@php.net
| 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...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 13:01:32 2024 UTC