Re: How can I uncompress zlib data in the browser?
| From: | Brian Duke | Date: | Wed, 05 Dec 2001 17:38:17 +0000 |
| Subject: | Re: How can I uncompress zlib data in the browser? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-76753@lists.php.net to get a copy of this message | ||
Thanks! It seems to work when I put this at the very top of my php
file:
ob_start("ob_gzhandler");
When I do a tcpdump on port 80, I see a small amount of garbage with
that statement and huge amount of text without it. The text displays
correctly in my browser either way, so it looks like it works.
- Brian
>Yes.
>
>Read the manual about "output buffering".
>Also read up on Apache's site about mod_gzip.
>http://apache.org
>Now, the 64 dollar question:
>
>Will the browser *CORRECTLY* identify and decompress the gzipped data?
- Brian
(Be sure to remove the # symbol before replying to my email address)