Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- ob_start();
- @set_time_limit(0);
- echo "<center><span style='font-size:30px; font-family:Fredericka the Great; color:#009900'>Ip Lookup Reverse Domain By </span></center>";
- echo "<center><img border='0' src='http://www.serveu.net/images/stories/geolocation.png' width=\"200\" height=\"200\" style='margin-top:10px'></center><div id=result>";
- echo "<center><br><form><input type='text' size='60' value='yahoo.com' name='ghost' /><input type='hidden' name='action' value='iplookdom'> <input type='submit' value=' ✓ '></form></center>";
- if(isset($_GET["ghost"]))
- {
- $site = $_GET["ghost"];
- $ghost = "http://domains.yougetsignal.com/domains.php";
- //Curl Function
- $ch = curl_init($ghost);
- 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 style='margin: 0 auto'>";
- foreach($array as $lnk)
- {
- print "<tr><td><a style=\"color:#0f0;font-weight:bold;\" href='$lnk' target=_blank>$lnk</a></td></tr>";
- }
- echo "</table>";
- curl_close($ch);
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment