Re: Problems with GZIPped content in some cases?!?
| From: | Richard Lynch | Date: | Wed, 01 Feb 2006 00:42:41 +0000 |
| Subject: | Re: Problems with GZIPped content in some cases?!? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-229593@lists.php.net to get a copy of this message | ||
On Tue, January 31, 2006 8:15 am, Olaf Greve wrote:
> header("Content-Encoding: ".$Encoding);
> echo "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xFF";
I don't know diddly about gzip-encoding and browsers, but this line
looks pretty hinky to me...
> echo substr(gzcompress($Content,$level),2,-4);
I suspect it may also be that case that broken browsers are simply
lying about what kinds of compression they can handle...
Not much you can do about that...
I've got a real low trust factor in web browser software for some odd
reason... :-)
--
Like Music?
http://l-i-e.com/artists.htm