string ob_gzhandler ( string $buffer , int $mode )
Ob_start callback function to gzip output buffer
ob_gzhandler() is intended to be used as a callback function for ob_start() to help facilitate sending gz-encoded data to web browsers that support compressed web pages. Before ob_gzhandler() actually sends compressed data, it determines what type of cont
<?php
ob_start("ob_gzhandler");
?>
<html>
<body>
<p>This should be a compressed page.</p>
</body>
</html>
4.0.5 The mode parameter was added.
0 Comment:
Post a Comment