php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #63948 Incorrect documention on $_SERVER manual
Submitted: 2013-01-08 23:21 UTC Modified: 2013-01-12 00:46 UTC
From: y dot hellyn at suri dot be Assigned:
Status: Wont fix Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2013-01-08 23:21 UTC] y dot hellyn at suri dot be
Description:
------------
---
From manual page: http://www.php.net/reserved.variables.server#refsect1-reserved.variables.server-indices
---

$_SERVER['REDIRECT_URI'] must be $_SERVER['REDIRECT_URL'] in the 'indices'


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-01-12 00:46 UTC] frozenfire@php.net
Thanks for the report, but I don't believe it's worth noting every one of the 
potential server environment variables.

The REDIRECT_* environment variables only exist in a certain situation, and 
REDIRECT_URI is not always present even in that case.

Each of the indices in $_SERVER are created entirely at the discretion of the 
SAPI, so some may exist, some may not, entirely depending on the web server.
 [2013-01-12 00:46 UTC] frozenfire@php.net
-Status: Open +Status: Wont fix
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 14:01:30 2024 UTC