Connection Broken after fread()
| From: | Edison Goncalez | Date: | Thu, 06 Mar 2003 16:59:48 +0000 |
| Subject: | Connection Broken after fread() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-138481@lists.php.net to get a copy of this message | ||
I'm a new php studient.
I have downloaded a webmail example that's have a error.
When i attach a file in a newmessage, the browser send me
a error, On MSIE i receive "page not found" and on KDE
i receive "Connection Broken".
This occurs after this command:
fread($fd, filesize($path));
I have do make a die() before it so isolate it.
My question.
Why php stop process and dont send a error message ?
How to test file read before a error ocurrs ?
Thanks in advance
--
Edison Goncalez