Bug #17185 Updated: Bad error message
| From: | sander@php.net | Date: | Mon, 01 Jul 2002 19:40:49 +0000 |
| Subject: | Bug #17185 Updated: Bad error message | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-12703@lists.php.net to get a copy of this message | ||
ID: 17185
Updated by: sander@php.net
Reported By: roger@wheelpro.co.uk
-Status: Open
+Status: Closed
Bug Type: Filesystem function related
Operating System: FreeBSD 4.5
PHP Version: 4.1.2
New Comment:
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a
documentation
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.
This is what I get with 4.3.0-dev:
Warning - HTTP request failed! HTTP/1.1 404 Not Found
Previous Comments:
------------------------------------------------------------------------
[2002-05-13 13:28:57] roger@wheelpro.co.uk
When using readfile("http://domain.com/xxx.html") where xxx.html does
not exist (404), readfile generates the warning...
Warning: readfile("http://www.wheelpro.co.uk/xxx.html") -
Message too
long in /home/roger/wheelpro/htdocs/read.php on line 11
Message too long???
However, regardless of any message I would still expect the 404 output
from the server?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17185&edit=1