Code: Select all
ob_start("ob_gzhandler");Or the included files do not get compresed?
Thanks to anyone who knows about this.
Moderator: General Moderators
Code: Select all
ob_start("ob_gzhandler");Code: Select all
ob_start("ob_gzhandler");Code: Select all
ob_start("ob_gzhandler");I think PHP will just start another compressed output buffer. No errors. But it means some stuff will be compressed twice, which is not good.cptnwinky wrote:Exactly, in fact if you do call it again you'll get an error I believe.
Code: Select all
<?php
ob_start("ob_gzhandler");
ob_start("ob_gzhandler");
echo 'hello world';
ob_end_flush();
?>