The first thing I'd check is the space on the client machine
trying to do the download - that machine may be running out
of space. I can't remember exactly how the browser handles
this, but the client machine may need 2 times the size of the
file to be downloaded - it might first create a temporary file,
and then when the download is done, copy the temporary file to the
real file.
HTH.
--
Hardy Merrill
Mission Critical Linux, Inc.
http://www.missioncriticallinux.com
Jeroen Jochems [[EMAIL PROTECTED]] wrote:
> When I try to download a big file (like 5meg) with fopen() I get some strange errors:
>
> - not enough space for lowio initialization
> - not enough space for stdio initialization
> - pure virtual function call
> - not enough space for _onexit/atexit table
> - unable to open console device
> - unexpected heap error
> - unexpected multithread lock error
> - not enough space for thread data abnormal program termination
> - not enough space for environment
> - not enough space for arguments
>
> I use the following code
>
> while (!feof($file)) {
> $line = fgets($file, 10000);
> fputs($localfile,"$line");
> }
>
> This always happens when he downloaded 981kb. Anyone know how to solve this?
>
> 10xzs
> - floating point not loaded
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]