DNSBL Lookup - IP Blacklist




Lutfen IP adresi yazarak sorgulayiniz.




IPv4:





/* Form Gönderilmişse */
if (isset($_GET['ip'])) {

is_file("proxy.txt") or die("proxy.txt bulunamadı.");

/* Kayıtlı IPleri getir ve listele */
$ipler = file_get_contents("proxy.txt");
$ipler = explode("\n", $ipler);

$ip = $_GET['ip'];

/* IP listede varsa/yoksa sonucu yazdır */
if (in_array($ip, $ipler)) {
$sira = (array_search($ip, $ipler)) + 1;
echo count($ipler)." IP kayıtlı. IPsi $sira. satırda var.";
} else {
echo "IP, listede yok.";
}

}
?>