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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: eric at evilwalrus dot com
New email:
PHP Version: OS:

 

 [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: Sat Jun 01 10:01:30 2024 UTC