Re: PHP Download Limitation 2MB
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: PHP Download Limitation 2MB

From: Adam Harvey <aharvey@optimiser.example.com>
Date: Fri Jul 01 2005 - 10:10:07 CEST

On Wed, 29 Jun 2005 15:45:05 -0700, singh_chintu wrote:
> I have uploaded a file that is over 8MB and that is successful and I
> have verified that it is a successful upload.
>
> However, that same file seems to have a download limitation of 2MB
> which I thought only applied to uploads. When downloading via IE, it
> shows the actual file size of 8+MB but then stops quarter of the way at
> 2MB.
>
> Is this a simple configuration fix that I am missing?

If you're using PHP 5.0.4, you've probably been bitten by a readfile() bug
that caused files over 2 MB to be truncated. It has been fixed in CVS, but
of course, there hasn't been a 5.0 release since then.

Adam

-- 
Adam Harvey
Optimiser Pty Ltd
To e-mail: don't make an example out of me!
Received on Mon Oct 17 21:00:17 2005