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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: y dot hellyn at suri dot be
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Tue May 21 14:01:33 2024 UTC