note 35000 deleted from function.ob-gzhandler by sniper
| From: | sniper@php.net | Date: | Mon, 25 Aug 2003 03:17:57 +0000 |
| Subject: | note 35000 deleted from function.ob-gzhandler by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-55016@lists.php.net to get a copy of this message | ||
Note Submitter: daijoubu@videotron.ca
----
About the above note from Davey:
ob_start(array('ob_gzhandler',9));
Does NOT work. It doesn't affect the output size at all.
ob_gzhandler compression level is your zlib.output_compression_level, which is -1 as default, level
6
I still haven't found out what is the mode for, nor how to set it, but if you want to change
the compression level on the fly, simply use ini_set:
ob_start('ob_gzhandler');
ini_set('zlib.output_compression_level', 1);