Re: Large gzip I/O
| From: | Richard Lynch | Date: | Sat, 25 Aug 2001 01:28:18 +0000 |
| Subject: | Re: Large gzip I/O | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-64384@lists.php.net to get a copy of this message | ||
You should be able to use http://php.net/popen and feed it chunks
as you
snag them...
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Shane Wegner <shane@cm.nu>
Newsgroups: php.general
To: <php-general@lists.php.net>
Sent: Friday, August 24, 2001 1:33 PM
Subject: Large gzip I/O
> Hi,
>
> I seem to be having trouble with the zlib support in PHP
> and am curious if anyone has a workaround.
>
> I am looking for an alternative to the gzuncompress
> function. The problem with gzuncompress is that it needs
> the entire gzip stream in memory in order to work. I'm
> looking for something like is in the C API where you can
> feed it many buffers in a while loop and it will construct
> the uncompress stream.
>
> If this is possible, I'd appreciate hearing from someone
> who knows how to do it.
>
> Thanks in advance,
> Shane
>
> --
> Shane Wegner: shane@cm.nu
> http://www.cm.nu/~shane/
> PGP: 1024D/FFE3035D
> A0ED DAC4 77EC D674 5487
> 5B5C 4F89 9A4E FFE3 035D