|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8249 getallheaders only can get URL of the last
Submitted: 2000-12-14 04:02 UTC Modified: 2000-12-21 05:28 UTC
From: erwinba at 163 dot net Assigned:
Status: Closed Package: Apache related
PHP Version: 4.0.3 OS: Linux
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.
Block user comment
Status: Assign to:
Bug Type:
From: erwinba at 163 dot net
New email:
PHP Version: OS:


 [2000-12-14 04:02 UTC] erwinba at 163 dot net
The "getallheaders" function cannot get the current URL
list, it get the last access 'Referer' only.

such as, access the test.php page by 
then access the process.php page by
on my process.php page, I use getallheaders() function,
but this 'Referer' is returned : test.php?parameter=value.

Of course, I want the current Referer is returned.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-17 10:49 UTC]
Could you please explain more clearly what did you do, what
you expected and what was returned?
 [2000-12-21 05:28 UTC]
You have only misunderstood 'referer'.
Referer is the page you are 'coming' from.
NOT the page you're going to. 

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 30 20:01:30 2024 UTC