PHP 4.0 Bug #8249 Updated: getallheaders only can get URL of the last

From: Date: Thu, 21 Dec 2000 10:28:28 +0000
Subject: PHP 4.0 Bug #8249 Updated: getallheaders only can get URL of the last
Groups: php.dev 
Request: Send a blank email to php-dev+get-42026@lists.php.net to get a copy of this message
ID: 8249 Updated by: sniper Reported By: erwinba@163.net Old-Status: Feedback Status: Closed Bug Type: Apache related Assigned To: Comments: You have only misunderstood 'referer'. Referer is the page you are 'coming' from. NOT the page you're going to. --Jani Previous Comments: --------------------------------------------------------------------------- [2000-12-17 10:49:51] stas@php.net Could you please explain more clearly what did you do, what you expected and what was returned? --------------------------------------------------------------------------- [2000-12-14 04:02:27] erwinba@163.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. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8249

« previous php.dev (#42026) next »