WHOIS
if ($domain)"; <br>$fp = fsockopen($server, 43, &$errno, &$errstr, 10); <br>if(!$fp) <br>{ <br>echo "Could not open connection to $server on port 43.n"; <br>echo "$errstr ($errno)<br>n"; <br>} <br>else <br>{ <br>fputs($fp, "$domainrn"); <br>while(!feof($fp)) <br>{ <br>echo fgets($fp,128); <br>} <br>fclose($fp); <br>} <br>} <br>else { <br>echo( "<b>$domain does not appear to be registered.</b><br>"); <br>} <br>echo ( "