Jump to content

Please Explain!


Trium918

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.