RE: [PHP] ob_start

From: Date: Sun, 14 Jul 2002 14:35:13 +0000
Subject: RE: [PHP] ob_start
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-107609@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)) { Shouldn't gzip be in quotes, here?? The second argument to strstr... > 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? ---John Holmes...

« previous php.general (#107609) next »