[PHP-DEV] Bug #327 Updated: fpassthru adds document length From: Bug Database (php-dev <email protected>)
Date: 04/29/98

ID: 327
Updated by: zeev
Reported By: jw <email protected>
Status: Closed
Bug Type: Parser error
Assigned To:
Comments:

fpassthru() displays the contents of the file,
and returns the number of displayed bytes. You should
just use fpassthru() alone. If you echo it as well,
its result will be echo'd, which means you'll see the
number of bytes in the file after the file's contents.

Full Bug description available at: http://ca.php.net/bugs.php3?id=327