Bug #15090: header("Location: $url") causes php.exe to generate an error
| From: | kmudrick at clement dot com | Date: | Thu, 17 Jan 2002 22:21:25 +0000 |
| Subject: | Bug #15090: header("Location: $url") causes php.exe to generate an error | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-77372@lists.php.net to get a copy of this message | ||
From: kmudrick@clement.com
Operating system: Windows 2000
PHP version: 4.0.6
PHP Bug Type: Reproducible crash
Bug description: header("Location: $url") causes php.exe to generate an error
After a lengthy script, I go to redirect to another page, using
header("Location: $redirect_page?PHPSESSID=$sid")
where $redirect_page is the address to goto.. Anyway, this causes a
windows "php.exe has generated an error" message, while using a
print "<META http-equiv=\"refresh\" content=\"0;
URL=$redirect_page?PHPSESSID=$sid\">";
works just fine, with no error generated. The page is using session
variables.
--
Edit bug report at: http://bugs.php.net/?id=15090&edit=1