function whois_hichina($ domain) {
preg_match("|
(.+?)
|is", @file_get_contents('http://whois.hichina.com/cgi-bin/whois?domain= '.$domain.''), $whois);
$whois[0] = str_replace('Friendly reminder: According to the requirements of the registry, the expired domain name may be in the automatic renewal period of the registrar. You can check it here The domain name expiration date you see is for reference only
Please
Enter the member areaCheck the actual expiration time of the domain name, and please renew it in time, thank you!', '', ($whois[0]));//Filter out this text
return $whois[0]);
}
preg_match("|
(.+?)
|is", @file_get_contents('http://www.xinnet.cn/Modules/agent/serv/pages/domain_whois.jsp?domainNameWhois='.$domain.'&noCode= noCode'), $whois);
return $whois[0];
}
}
Tested by Shanghai Telecom, I feel that the query on the new network is faster and more efficient. Some domain names cannot be queried on the Internet, but they can also be queried on the new website!