<form method="POST" action= "<?PHP echo($PHP_SELF); 
?>">

Find an available domain name from Network Solutions: 

<INPUT name="domain" SIZE="20" MAXLENGTH="22">

<INPUT TYPE="SUBMIT" VALUE="Check name">

<INPUT TYPE="RESET" VALUE="Clear">

</FORM>

<hr>

<font size="2"><pre>

<?

//This function was found at : http://www.phpwizard.net/phpTidbits/

function whois($domain, $server="www.geektools.com")



$fp = fsockopen ($server, 43, &$errnr, &$errstr) or die("$errno: 
$errstr");

fputs($fp, "$domain\n");

while (!feof($fp))

echo fgets($fp, 2048);

fclose($fp); 



 ?>

<?

If (isset ($domain)){

echo (whois($domain));

}

?>

</pre></font>

+ Recent posts