Re: passing gzcompressed output to user
| From: | Mark A Mucha | Date: | Thu, 13 Jul 2000 02:24:02 +0000 |
| Subject: | Re: passing gzcompressed output to user | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-6366@lists.php.net to get a copy of this message | ||
The browser handles the decompress, but you must check for that
functionality in the browser.
----- Original Message -----
From: "Richard Lynch" <richard@zend.com>
To: <php-general@lists.php.net>
Sent: Wednesday, July 12, 2000 10:07 PM
Subject: Re: [PHP] passing gzcompressed output to user
> In article <001901bfe9d6$e72666f0$59eb5f18@crocbyte>, mmucha@cfl.rr.com
> ("Mark A Mucha") wrote:
>
> > With Java Servlets, it is possible to send gz compressed output to the
> > client. Is there a way to do this in PHP4 ??
>
> Does the Java Applet decompress, or the browser?...
>
> PHP4 can compress it okay, but who's going to decompress?
>
> To compress PHP4 output itself, use output-buffering feature.
>
> To compress some other file, check for a built-in gz function (that's
> --with-zlib, right?) or use exec('gzip ...');
> --
> Richard Lynch | If this was worth $$$ to you, buy a CD
> US Customer Support Director | from one of the artists listed here:
> Zend Technologies USA | http://www.L-I-E.com/artists.htm
> http://www.zend.com | (this has nothing to do with
> Zend, duh!)
>
> --
> 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
>