php.net |  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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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 
  http://myserver/php/test.php?parameter=value
then access the process.php page by
  http://myserver/php/process.php?page=value
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 22:01:26 2024 UTC