PhpSnip.com

User Stats

Whois in Browser

you can look up domain which you need it.

Info

 Download  View Source (print view)
 Rating : 4.7  Views : 426

Source Code ( 19 lines )

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>";
	}
    }	
?>

Search

Subscribe

  Rss Feeds

Sponsors

Advertise