Output buffering (gzip) on Mac OS X 10.3.5
| From: | René Fournier | Date: | Thu, 12 Aug 2004 20:43:18 +0000 |
| Subject: | Output buffering (gzip) on Mac OS X 10.3.5 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-193647@lists.php.net to get a copy of this message | ||
Zend (http://www.zend.com/zend/art/buffering.php) offers some suggestions on output buffering, which I am trying to implement on my web server (Mac OS X 10.3.5, Apache/1.3.29 (Darwin) PHP/4.3.6). So far, unsuccessfully.
Has anyone got this working? Here's what I've got:
<?php
ob_start("ob_gzhandler");
session_start();
// ...code....
ob_end_flush();
header('Content-Encoding: gzip');
?>
I've tried numerous permutations of this and other code, but have yet to get anything to compress. Any ideas?
...René
---
René Fournier
www.renefournier.com