note 32359 added to function.ob-gzhandler
| From: | php-general at lists dot php dot net | Date: | Sun, 25 May 2003 10:49:33 +0000 |
| Subject: | note 32359 added to function.ob-gzhandler | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-48977@lists.php.net to get a copy of this message | ||
turn so:
function callback($buffer) {
// replace all the apples with oranges
return (ereg_replace("apples", "oranges", $buffer));
ob_gzhandler(); // new code
}
ob_start("callback");
//and then compress all the document with "ob_gzhandler", but second-time
ob_start("ob_gzhandler") doen't work.
// ob_start("ob_gzhandler"); old code
----
Manual Page -- http://www.php.net/manual/en/function.ob-gzhandler.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32359
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32359&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32359&report=yes