Wanwang whois (使用されているインターフェイスは Wanwang の正当なインターフェイスを提供します)
コードをコピーします コードは次のとおりです:
function whois_hichina($domain) {
preg_match("|
(.+? )< ;/pre>|is", @file_get_contents('http://whois.hichina.com/cgi-bin/whois?domain='.$domain.''), $whois);
$whois[0 ] = str_replace('注意事項: レジストリの要件に従って、有効期限が切れたドメイン名はレジストラの自動更新期間に入っている可能性があります。このクエリで表示されるドメイン名の有効期限は参考用です
お願い< ;a href ="http://www.net.cn/has_client/userlogon/user_logon1.asp" target="_blank" class="link_gl">メンバー エリアに入る実際の有効期限を表示するドメイン名、期限内に更新してください、ありがとうございます! ', '', ($whois[0]));//このテキストを除外します
return $whois[0])
}
Xinnet whois (not) Xinnet によって提供され、Xinnet 自身の Web サイトの URL 変更に基づいて実装されています)
コードをコピーします コードは次のとおりです:
function whois_xinnet($domain) {
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]}
}
Shanghai Telecom でテストしたところ、Xinwang のクエリのほうが速いと感じましたが、一部のドメイン名はそうではありませんでした。 Wanwang でクエリできることは、Xinwang でもクエリできます。
http://www.bkjia.com/PHPjc/321224.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/321224.html技術記事 Wanwang whois (使用されるインターフェイスは、Wanwang の正当なインターフェイスを提供します) 次のようにコードをコピーします。 function whois_hichina($domain) { preg_match("|pre(.+?)/pre|is", @file_get_contents('http://whois ...