Re: Strange problem

From: Date: Thu, 25 Jan 2001 14:22:48 +0000
Subject: Re: Strange problem
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-36622@lists.php.net to get a copy of this message
Or does anyone know a better way to download files? ----- Original Message ----- From: Hardy Merrill <merrill@missioncriticallinux.com> To: Jeroen Jochems <jeroen@jochems.net> Cc: <php-general@lists.php.net> Sent: Thursday, January 25, 2001 2:50 PM Subject: Re: [PHP] Strange problem > 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 [jeroen@jochems.net] 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 >

« previous php.general (#36622) next »