faqts : Computers : Programming : Languages : PHP : Common Problems : Files

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

3 of 6 people (50%) answered Yes
Recently 2 of 5 people (40%) answered Yes

Entry

How do I stop readfile() or fpassthru() from including the no. of bytes when outputting a file?

Jan 9th, 2001 07:49
Chris Hester, http://www.weberdev.com/phorum/list.php?f=1


Just use fpassthru() alone. No need for print or echo! Note: don't use 
fclose either at the end of your code.