Bug #17185: Bad error message
| From: | roger at wheelpro dot co dot uk | Date: | Mon, 13 May 2002 17:28:57 +0000 |
| Subject: | Bug #17185: Bad error message | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-7538@lists.php.net to get a copy of this message | ||
From: roger@wheelpro.co.uk
Operating system: FreeBSD 4.5
PHP version: 4.1.2
PHP Bug Type: Filesystem function related
Bug description: Bad error message
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 bug report at http://bugs.php.net/?id=17185&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17185&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17185&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17185&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17185&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17185&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17185&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17185&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17185&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17185&r=globals