Location: PHPKode > scripts > XID Registration/Authorizing System > xid-registrationauthorizing-system/ipaccess.php
<?php
require("ipbanlist.php");
$fn="banned.php";
$f=fopen($fn,"r");
$banned=fread($f,filesize($fn));
fclose($f);
$ip=GETENV("REMOTE_ADDR");
if($ip == $ip1){echo"$banned";exit;}
if($ip == $ip2){echo"$banned";exit;}
if($ip == $ip3){echo"$banned";exit;}
if($ip == $ip4){echo"$banned";exit;}
if($ip == $ip5){echo"$banned";exit;}
if($ip == $ip6){echo"$banned";exit;}
if($ip == $ip7){echo"$banned";exit;}
if($ip == $ip8){echo"$banned";exit;}
if($ip == $ip9){echo"$banned";exit;}
if($ip == $ip10){echo"$banned";exit;}
if($ip == $ip11){echo"$banned";exit;}
if($ip == $ip12){echo"$banned";exit;}
if($ip == $ip13){echo"$banned";exit;}
if($ip == $ip14){echo"$banned";exit;}
if($ip == $ip15){echo"$banned";exit;}
if($ip == $ip16){echo"$banned";exit;}
if($ip == $ip17){echo"$banned";exit;}
if($ip == $ip18){echo"$banned";exit;}
if($ip == $ip19){echo"$banned";exit;}
if($ip == $ip20){echo"$banned";exit;}
if($ip == $ip21){echo"$banned";exit;}
if($ip == $ip22){echo"$banned";exit;}
if($ip == $ip23){echo"$banned";exit;}
if($ip == $ip24){echo"$banned";exit;}
if($ip == $ip25){echo"$banned";exit;}
if($ip == $ip26){echo"$banned";exit;}
if($ip == $ip27){echo"$banned";exit;}
if($ip == $ip28){echo"$banned";exit;}
if($ip == $ip29){echo"$banned";exit;}
if($ip == $ip30){echo"$banned";exit;}
?>
Return current item: XID Registration/Authorizing System