netscape 4.x problem

From: Date: Sun, 23 Jun 2002 07:24:57 +0000
Subject: netscape 4.x problem
Groups: php.general 
Request: Send a blank email to php-general+get-103449@lists.php.net to get a copy of this message
Hi, I'm having trouble getting a script working right in netscape 4.x and was wondering if anybody knew a workaround, or fix. If I have a script called "sendheader.php" with the following: <? if (! isset($GLOBALS[sendheader])) { header("Location: http://blah.com/sendheader.php"); exit; } echo "blah"; ?> Load the script in netscape 4.x with http://blah.com/sendheader.php?sendheader=0. Then load the script like http://blah.com/sendheader.php and netscape returns "Document contains no data". It seems to break netscape 4.x if the Location header == current script name. Does anyone know how to get around this? Tom

« previous php.general (#103449) next »