ID: 9699 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: HTTP related Assigned To: Comments: Can't reproduce. Try latest CVS build from http://www.php4win.de/ --Jani Previous Comments: --------------------------------------------------------------------------- [2001-03-12 06:12:15] [EMAIL PROTECTED] This bug affects how variables are parsed from the URL, in instances when the header() function is used to forward the browser. Eg. if the following code was used in a script: header("Location: index.php?variable=blah") Then index.php would be parsed and PHP would assign $variable == blah. However, if the user adds a HTML anchor reference onto the end, eg: header("Location: index.php?variable=blah#1") Then the web browser would still parse it fine, but PHP will assign $variable == blah#1. If the user refreshes the browser window (eg., the location header isn't being used to laod the script) then it works fine, so this bug is limtied to the header() function only. Fix: The script writer can add an & before the # character in the URL, eg: index.html?variable=blah --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9699&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]