Location: PHPKode > scripts > Free PHP Ad Blocker Checker > Ad-Blocker-Checker/check.php
<?php
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Fri, 27 Jul 1990 01:01:01 GMT");

echo '<html>
<head>';
echo '
<![if IE]>
<style>
img {
	behavior: url(fixnaturalwh.htc);
}
</style>
<![endif]>';
echo '
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="expires" content="0">
</head>
<body onload="docheck()">';
echo '
<img id="tes" src="a.bidvertiser.&ad_url=.jpg" width="1">';

echo '
<script language="javascript">

function docheck()
{
	var width = parseInt(document.getElementById(\'tes\').naturalWidth);
	var widthOpera = parseInt(document.getElementById(\'tes\').width);
	var browser = navigator.appName;
	
	if( (browser == "Opear" && widthOpear <= 0) || (browser != "Opear" && width <= 0) )
	{
		location.href = \'block.html\';
	}
}
</script>
<div align="center">
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p><strong><font color="#0000FF">You are not using Ad Block Plus Software!
    </font></strong></p>
</div>
<p>&nbsp;</p>
<p align="center">[<a href="check.php">Check Again</a>] </p>
';

echo '
<!--
/*
This script was downloaded at:
LightPHPScripts.com
Please support us by visiting
out website and letting people
know of it.
Produced under: LGPL
*/
-->
</body>
</html>';
?>
Return current item: Free PHP Ad Blocker Checker