Re: [PHP] Forced File Downloads

2007-01-21 Thread Jochem Maas
Don wrote: > I've been having my forced downloads sometimes finish prematurely using > readfile(). I'm downloading a Windows .exe file. > > I've read several posts that have suggested the substitution of a fread/feof > loop to write out the download in smaller chunks. I tried using a function > (r

Re: [PHP] Forced File Downloads

2007-01-21 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-20 22:51:41 -0800: > I've been having my forced downloads sometimes finish prematurely using > readfile(). I'm downloading a Windows .exe file. > > I've read several posts that have suggested the substitution of a fread/feof > loop to write out the download in smaller

[PHP] Forced File Downloads

2007-01-20 Thread Don
I've been having my forced downloads sometimes finish prematurely using readfile(). I'm downloading a Windows .exe file. I've read several posts that have suggested the substitution of a fread/feof loop to write out the download in smaller chunks. I tried using a function (readfile_chunked) I foun