|
Look up domain name using WHOIS:
<form method="POST" action="<?print $PHP_SELF?>">
<input type="text" name="url" size="20">
<input type="submit" name="submit" value="Search">
</form>
<hr size="1" widht="98%">
<?
if ($REQUEST_METHOD == "POST") {
// make sure data from input
$url = escapeshellcmd($url);
if (empty($url)) die("you must spesification your URL");
exec("whois $url",$array);
foreach($array as $thisLine) {
print $thisLine . "<br>";
}
} ?>
|
|
|
Usage Example
|
Look up domain name using WHOIS:
<form method="POST" action="<?print $PHP_SELF?>">
<input type="text" name="url" size="20">
<input type="submit" name="submit" value="Search">
</form>
<hr size="1" widht="98%">
<?
if ($REQUEST_METHOD == "POST") {
$url = escapeshellcmd($url);
if (empty($url)) die("you must spesification your URL");
exec("whois $url",$array);
foreach($array as $thisLine) {
print $thisLine . "<br>";
}
} ?>
|
|
|
Rate This Script
|
|