http://www.bkjia.com/PHPjc/532510.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/532510.htmlTechArticle?PHP">
时间:2021-07-01 10:21:17 帮助过:5人阅读
";
$fp = fsockopen($server, 43, &$errno, &$errstr, 10);
if(!$fp)
{
echo "Could not open connection to $server on port 43.n";
echo "$errstr ($errno)
n";
}
else
{
fputs($fp, "$domainrn");
while(!feof($fp))
{
echo fgets($fp,128);
}
fclose($fp);
}
}
else {
echo( "$domain does not appear to be registered.
");
}
echo ( "
http://www.bkjia.com/PHPjc/532510.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/532510.htmlTechArticle?PHP if ($domain) { if ($domain) { $fp = fsockopen( "rs.internic.net", 43, $errno, $errstr, 10); if (!$fp) { echo "$errstr ($errno)brn"; } else { fputs($fp, "$domainrn"); while(!fe...