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





-- 
PHP General 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