note 32359 deleted from function.ob-gzhandler by didou
| From: | didou@php.net | Date: | Mon, 11 Aug 2003 11:53:14 +0000 |
| Subject: | note 32359 deleted from function.ob-gzhandler by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-53870@lists.php.net to get a copy of this message | ||
Note Submitter:
----
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