PHP 4.0 Bug #6454: Netscape Document Contained No Data when using header()

From: Date: Thu, 31 Aug 2000 05:09:41 +0000
Subject: PHP 4.0 Bug #6454: Netscape Document Contained No Data when using header()
Groups: php.dev 
Request: Send a blank email to php-dev+get-31376@lists.php.net to get a copy of this message
From: keith@neverwillbes.com Operating system: Redhat 6.1 PHP version: 4.0.2 PHP Bug Type: Dynamic loading related Bug description: Netscape Document Contained No Data when using header() In my login function I have a section of code, case "logon_succeeded": header ( $redir_url ); exit; break; This is part of a larger switch statement. The weird thing is that when you using netscape I get "Document Contained No Data..." when I try and login. If I click ok and hit the submit button again, it works fine. IE works fine the first time. The weird thing is if I print out the contents of $redir_url and then put the actual string in there, something like: Location: http://www.foobar.com/my/index.php?PHPSESSID=4a0e1db7d5efb2beee829473c82c5120 instead of the variable that has the exact same text, it works fine. I don't get why. If I load the $redir_url with Location: http://www.php.net it works fine as well. Maybe it is a problem with the session_variable stuff. Why does it work with IE and why does it work with netscape on the second submit. I had the problem with 4.0.1pl2 and with the new 4.0.2 Thanks, keith vance

« previous php.dev (#31376) next »