Trium918 Posted May 17, 2008 Share Posted May 17, 2008 Would someone please explain to me what exactly the code below is suppose to do? <?php // Get php version $phpver = phpversion(); if ($phpver >= '4.0.4pl1' && isset($_SERVER['HTTP_USER_AGENT']) && strstr($_SERVER['HTTP_USER_AGENT'],'compatible')) { if (extension_loaded('zlib')) { @ob_end_clean(); ob_start('ob_gzhandler'); } ?> Link to comment https://forums.phpfreaks.com/topic/106055-please-explain/ Share on other sites More sharing options...
phpzone Posted May 17, 2008 Share Posted May 17, 2008 it's turning on page compression if the end browser supports it and the server supports it. Link to comment https://forums.phpfreaks.com/topic/106055-please-explain/#findComment-543568 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.