Thread Contributor: ubersakiPhone # whois script
#1
Again, another piece of work I created for... reasons. Gets info on a phone number.. pretty simple.

Code:
<form method="post" action="">
<h1> Enter the number and get the location/provider of it.</h1>

<h2>Usa</h2>
<font color='red'><strong>Phone</strong></font> : <input type="text" value="" name="up1" size="20"/>-<input type="text" value="" name="up2" size="20"/>-<input type="text" value="" name="up3" size="20"/>
<br />
<input type="submit" name="uscan" value="Find"><br /><br />
</form>
<hr>
<form method="post" action="">
<h1> Enter the number and get the location/provider of it.</h1>

<h2>International</h2>
<font color='red'><strong>Phone</strong></font> : <input type="text" value="" name="ip1" size="20"/>
<br />
<input type="submit" name="iscan" value="Find"><br /><br />
</form>
<?php

if(isset($_POST['iscan'])){
    $iph1 = $_POST['ip1'];
    $infourl = "http://www.fonefinder.net/findint.php?intlnum=".$iph1."&intlquery=Search+by+Number&intlname=";
$infodata = file_get_contents($infourl);

$base = explode("<TABLE", $infodata);

$set1 = explode("<TD", $base[1]);
$setcount = count($set1);
for($i=0;$i<$setcount;$i++){
   
   $set2 = explode("helvetica>", $set1[$i]);
$set3 = explode("<", $set2[1]);
   echo $set3[0]."-";
}
}
if(isset($_POST['uscan'])){
    $ph1 = $_POST['up1'];
    $ph2 = $_POST['up2'];
    $ph3 = $_POST['up3'];
    $infourl = "http://www.fonefinder.net/findome.php?npa=".$ph1."&nxx=".$ph2."&thoublock=".ph4."&usaquerytype=Search+by+Number";
$infodata = file_get_contents($infourl);

$set1 = explode("<TD>", $infodata);
$setcount = count($set1);
for($i=0;$i<$setcount;$i++){
   
   $set2 = explode("'>", $set1[$i]);
$set3 = explode("<", $set2[1]);
   echo $set3[0]."-";
}
}
?>


Forum Jump:


Users browsing this thread: 1 Guest(s)