March 2002
Intermediate to advanced
528 pages
21h 29m
English
ob_gzhandler
string ob_gzhandler(stringbuffer[, intmode])
This function gzip-compresses output before it
is sent to the browser. You don’t call this function
directly. Rather, it is used as a handler for output buffering using
the ob_start( ) function. To enable
gzip-compression, call ob_start( ) with this function’s name:
<?php ob_start("ob_gzhandler"); ?>