My server (Apache/1.3.28 - PHP/4.3.3)
is configured to receive gzipped data via:
Header append Accept-Encoding "gzip, deflate"
PHP is configured to send gzipped data via:
php_value output_handler ob_gzhandler
When downloading files from servers that send gzipped data as well,
I'd like to get the filesize before and after my server decompresses them.
=============== =============== ==============
// same result with fopen()
$file = file_get_conten ts("http://someUrl");
=============== =============== ==============
strlen($file) yields the decompressed filesize, however.
How can I measure the filesize of the compressed data?
Anyone any idea?
Marek
bn*****@g214mx. net
(remove numbers to despam)