One option I can think of would be to handle the compression in your code:

<?php
ob_start();

print "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; // 30 a's
print "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"; // 30 b's
print "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; // 30 a's

$output=gzcompress(ob_get_contents());
$ob_get_length=length($output);
header('Content-Length: '.$ob_get_length);
ob_end_clean();
?>

daniel hahler wrote:

Hallo PHP-general list,

on Wed, 22 Oct 2003 23:07:06 +0200 I already wrote:

dh> Hallo daniel,

don't want to talk only to myself.. this is for everyone.. :)



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



Reply via email to