hello
i am looking to a way or script for enable gzip in my php page for fast load without edit php.ini.
anyone know a way?
You can use:
ob_start("ob_gzhandler");
at the start of your scripts you want to compress
do this my script work correctly compersion?
<htm> <body> <?php ob_start("ob_gzhandler"); ?> some html code <php? my php script ?> </body> </htm>
You'd have to do it before any output at all
e.g.
<?php ob_start("ob_gzhandler"); ?> <htm> <body> some html code <php? my php script ?> </body> </htm>