note 12140 deleted from function.header by jimw
| From: | jimw@php.net | Date: | Wed, 31 Oct 2001 21:53:46 +0000 |
| Subject: | note 12140 deleted from function.header by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-19768@lists.php.net to get a copy of this message | ||
If you're using header to redirect the browser as described above, bear this in mind:
If you add variables to the URL and an anchor reference, eg:
Location: index.html?blah=blah#anchor
It seems that the last variable value will unclude the anchor, eg. $blah will be
"blah#anchor". This can be fixed by adding an '&' character just before the
anchor, eg:
Location: index.html?blah=blah&#anchor
Seems to be a bug in the PHP URL parsing (at least in PHP4 for windows).