ob_gzhandler encoding ???

From: Date: Sun, 19 May 2002 18:11:08 +0000
Subject: ob_gzhandler encoding ???
Groups: php.general 
Request: Send a blank email to php-general+get-98371@lists.php.net to get a copy of this message
Does anyone know how I can test (and see) if my ob_gzhandler() is working? I've written the following script, and run it from the command line to "see" the output -- hoping it's encoded -- it isn't -- so I want to make sure I'm doing it right. <? header("Accept-Encoding: gzip, deflate"); ob_start("ob_gzhandler"); ?> some HTML code .... <? ob_end_flush(); ob_end_clean(); ?> I save then run the file: C:>php test.php Thanks

« previous php.general (#98371) next »