Bug #15090 Updated: header("Location: $url") causes php.exe to generate an error

From: Date: Fri, 18 Jan 2002 20:58:52 +0000
Subject: Bug #15090 Updated: header("Location: $url") causes php.exe to generate an error
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-77474@lists.php.net to get a copy of this message
ID: 15090 User updated by: kmudrick@clement.com Old Summary: header("Location: $url") causes php.exe to generate an error Reported By: kmudrick@clement.com Old Status: Feedback Status: Open Bug Type: Reproducible crash Operating System: Windows 2000 PHP Version: 4.0.6 New Comment: Upgrading to 4.1.1 seemed to work! Previous Comments: ------------------------------------------------------------------------ [2002-01-18 03:56:10] mfischer@php.net Please try with latest 4.1.1, it may have been fixed already. ------------------------------------------------------------------------ [2002-01-17 17:21:24] kmudrick@clement.com 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 this bug report at http://bugs.php.net/?id=15090&edit=1

« previous php.dev (#77474) next »