note 30943 added to function.ob-gzhandler
| From: | davey at its-explosive dot net | Date: | Fri, 04 Apr 2003 00:41:59 +0000 |
| Subject: | note 30943 added to function.ob-gzhandler | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-46197@lists.php.net to get a copy of this message | ||
To pass the second argument to ob_gzhandler() which specifies what level of compression should be
used (which I assume is 1-9 as with the gzip binary, with 9 using the most processor and time to do,
4 is the standard IIRC) you must call ob_start() like so:
ob_start(array('ob_gzhandler',9));
- Davey
--
http://www.php.net/manual/en/function.ob-gzhandler.php
http://master.php.net/manage/user-notes.php?action=edit+30943
http://master.php.net/manage/user-notes.php?action=delete+30943
http://master.php.net/manage/user-notes.php?action=reject+30943