ID: 11204
User Update by: [EMAIL PROTECTED]
Status: Critical
Bug Type: HTTP related
Operating system: Linux
PHP Version: 4.0.5 and 4.0.6
Description: readfile/file fail if HTTP header is not returned

The comments on this bug ID show that it should have been fixed in 4.0.6RC1 but it has 
not been fixed in the release version 4.0.6.

Previous Comments:

[2001-05-30 22:32:01] [EMAIL PROTECTED]
Of course I mean't 4.0.6RC1..


[2001-05-30 22:31:37] [EMAIL PROTECTED]
Reproduced with PHP 4.0.5RC1 and marked as fix before release.



[2001-05-30 20:34:48] [EMAIL PROTECTED]
Use readfile("";) and it works fine,
returning the InterNIC web page.  Use 
against their page, which is a valid GET-request URL and
works great from a browser and readfile doesn't work.  I
dug a little deeper and did a packet capture while trying
my PHP page with both URL's.  Both URL's return just fine
in the packet capture, complete information, so why does
the second URL with the query not work?  The absolute
only difference I can see in the packet capture that could
make a difference here is that the  normal pages are
returned with a HTTP/1.1.200 on the top whereas the other
URL is missing the HTTP response code!  I'm not sure if
it's legal HTTP for that code to be missing but could
that be the problem?


Dave Hubbard


Full Bug description available at:

PHP Development Mailing List <>
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