From:             [EMAIL PROTECTED]
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


-- 
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]

Reply via email to