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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to