ob_start
| From: | Kevin Waterson | Date: | Sun, 14 Jul 2002 14:34:28 +0000 |
| Subject: | ob_start | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-107607@lists.php.net to get a copy of this message | ||
I wish to compress some data using
ob_start("ob_gzhandler");
I use
if(strstr($_SERVER['HTTP_ACCEPT_ENCODING'],gzip)) {
ob_start("ob_gzhandler");
} else {
ob_start();
}
but the compression is never used..
obstart is always used withouth the gz_handler
is there a way around this? or am I doing something
wrong here?
Kind regards
kevin