ID:               34721
 User updated by:  cpriest at warpmail dot net
 Reported By:      cpriest at warpmail dot net
-Status:           Feedback
+Status:           Closed
 Bug Type:         Output Control
 Operating System: Redhat Enterprise 4
 PHP Version:      5.0.5
 New Comment:

CVS Version fixed the problem, thanks!


Previous Comments:
------------------------------------------------------------------------

[2005-10-03 22:13:02] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.0-win32-latest.zip



------------------------------------------------------------------------

[2005-10-03 22:04:15] cpriest at warpmail dot net

Description:
------------
Calling fpassthru() or readfile() on a file returns a truncated file,
using:

echo file_get_contents(); and it works fine.

I'm assuming its a binary issue, I know it has problems with pdf
documents.

Reproduce code:
---------------
readfile($filepath); // Returns unreadable pdf file


Expected result:
----------------
Uncorrupted file returned to browser

Actual result:
--------------
Corrupted file returned to browser


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=34721&edit=1

Reply via email to