note 47307 rejected from function.header by betz
| From: | betz@php.net | Date: | Wed, 10 Nov 2004 22:29:20 +0000 |
| Subject: | note 47307 rejected from function.header by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-80378@lists.php.net to get a copy of this message | ||
Note Submitter: darkstar_ae at hotmail dot com
----
As 'alex at primafila dot net' said php does some really weird things if you don't do
an absolute URI. One notable problem I found was that on my Solaris with Apache 2 n PHP 4.3.9 the
URL on the browser doesn't show properly.
say if you did something like:
header("Location: {$_SERVER['REQUEST_URI']}&test=1");
The browser would still show the old url.
I read in an old post that you should add "\n" to fix this but it doesn't seem to
work anymore.
So do as alex said. ;)
Regards.