[PHP] Reverse IP Lookup
<head><title>Reverse IP Lookup</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<?php
ob_start();
@set_time_limit(0);
echo "<p align='center'>
<img border='0' src='http://www.seomastering.com/myimages/img/Geolocation.jpg' width='15%' height='25%' /></p>";
echo "<center><font color='#006600' size='4' face='impact'>Ip Lookup Reverse Domain</center></font><div id=result>";
echo "<center><br /><br /><form><input size='60' value='jokerdarkknight.com' name='ip' /><input type='submit' value='✓'></form></center>";
if(isset($_GET["ip"]))
{
$site = $_GET["ip"];
$ip = "http://domains.yougetsignal.com/domains.php";
//Curl Function
$ch = curl_init($ip);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1 );
curl_setopt($ch, CURLOPT_POSTFIELDS, "remoteAddress=$site&ket=");
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_POST, 1);
$resp = curl_exec($ch);
$resp = str_replace("[","", str_replace("]","", str_replace("\"\"","", str_replace(", ,",",", str_replace("{","", str_replace("{","", str_replace("}","", str_replace(", ",",", str_replace(", ",",", str_replace("'","", str_replace("'","", str_replace(":",",", str_replace('"','', $resp ) ) ) ) ) ) ) ) ) ))));
$array = explode(",,", $resp);
unset($array[0]);
echo "<table class=tbl>";
foreach($array as $lnk)
{
print "<tr><td><a href='http://adf.ly/6102616/banner/$lnk' target=_blank>$lnk</a></td></tr>";
}
echo "</table>";
curl_close($ch);
}
?>
[PHP] Reverse IP Lookup
Reviewed by Nguyen Nam Hong
on
10:37 AM
Rating: