readfile and Location headers in php 4.0.4 and 4.0.4pl1

From: Date: Tue, 16 Jan 2001 02:23:55 +0000
Subject: readfile and Location headers in php 4.0.4 and 4.0.4pl1
Groups: php.general 
Request: Send a blank email to php-general+get-34729@lists.php.net to get a copy of this message
Is anyone else having trouble in 4.0.4 and 4.0.4pl1 with readfile when the argument is a http request to a script that sends a location header? eg: server1 - test.php <? readfile("http://server2/location.php"); ?> server2 - location.php <? header("Location: http://some.other.url); ?> Both Php 4.0.4 and 4.0.4pl1 return: Warning: readfile("http://server2/location.php") - Success in /path/to/test.php on line 1 I've got a box that still has 4.0.2 on it and this works fine on it. jason

« previous php.general (#34729) next »