Re: Problems with GZIPped content in some cases?!?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux