RE: [PHP] Strange problem
| From: | johnny p. | Date: | Tue, 30 Jan 2001 20:03:16 +0000 |
| Subject: | RE: [PHP] Strange problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-37324@lists.php.net to get a copy of this message | ||
Sounds like there's no swap space left to me...
-jp
> -----Original Message-----
> From: Dustin Butler [mailto:dustin@intrcomm.net]
> Sent: Friday, January 26, 2001 11:11 PM
> To: 'Jeroen Jochems'; php-general (E-mail)
> Subject: RE: [PHP] Strange problem
>
>
> There are FTP functions if it's an FTP download. You could
> also use socket
> functions to create the request if it's HTTP. Check your
> system for the
> utility called wget, you could exec() wget to retrieve the file also.
>
> Dustin
>
> > -----Original Message-----
> > From: Jeroen Jochems [mailto:jeroen@jochems.net]
> > Sent: Thursday, January 25, 2001 7:23 AM
> > To: Hardy Merrill
> > Cc: php-general@lists.php.net
> > Subject: Re: [PHP] Strange problem
> >
> >
> > 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
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
>