域名查询代码公布
<?php
// 网络技术主管座右铭:三人行,其必有我师焉。http://www.ctohome.com
// 这个代码可以是说是非常的SMART,我改动了小小部分使它更容易用。
$moreinfolist = array( // 储存WHOIS查询主机的连接方法
'at' => 'www.ripe.net/cgi-bin/whois?query=',
'au' => 'www.aunic.net/cgi-bin/whois.aunic?',
'bm' => 'www.bermudanic.bm/cgi-bin/BermudaNIC/rwhois_query_get.pl?query_text=',
'ch' => 'www.switch.ch/cgi-bin/domain/search_domain?keyword=',
'com'=> 'www.networksolutions.com/cgi-bin/whois/whois/?STRING=',
'cz' => 'www.ripe.net/cgi-bin/whois?query=',
'de' => 'www.ripe.net/cgi-bin/whois?query=',
'dk' => 'www.ripe.net/cgi-bin/whois?query=',
'edu'=> 'www.networksolutions.com/cgi-bin/whois/whois/?STRING=',
'es' => 'www.nic.es/whois/index.php?type=Dominios&key=',
'fi' => 'www.ripe.net/cgi-bin/whois?query=',
'fo' => 'www.ripe.net/cgi-bin/whois?query=',
'fr' => 'harmonic.nic.fr/cgi-bin/HarmoNIC.pl?Annu_Suffixe=&Annu_Action=Rechercher&Annu_Automaton_State=17&Annu_Motif=',
'gl' => 'www.ripe.net/cgi-bin/whois?query=',
'gm' => 'www.ripe.net/cgi-bin/whois?query=',
'gov'=> 'www.nic.gov/cgi-bin/whois?s=nic.gov',
'gr' => 'www.ripe.net/cgi-bin/whois?query=',
'hu' => 'www.ripe.net/cgi-bin/whois?query=',
'id' => 'whois.idnic.net.id/cgi-bin/whois-cgi?user=',
'ie' => 'www.ripe.net/cgi-bin/whois?query=',
'il' => 'www.ripe.net/cgi-bin/whois?query=',
'is' => 'www.ripe.net/cgi-bin/whois?query=',
'it' => 'www.ripe.net/cgi-bin/whois?query=',
'jp' => 'www.nic.ad.jp/cgi-bin/whois_gw?lang=/e&type=DOM&rule=ex&key=',
'lb' => 'www.aub.edu.lb/cgi-bin/lbdr.pl?cn=',
'li' => 'www.switch.ch/cgi-bin/domain/search_domain?keyword=',
'lt' => 'www.ripe.net/cgi-bin/whois?query=',
'lv' => 'www.ripe.net/cgi-bin/whois?query=',
'mc' => 'www.ripe.net/cgi-bin/whois?query=',
'mil'=> 'www.nic.mil/cgi-bin/whois?stype=Domains&ctype=reg&keyword=',
'ms' => 'www.adamsnames.tc/whois/?seen=y&domain=',
'mx' => 'www.nic.mx/cgi/whois?',
'net'=> 'www.networksolutions.com/cgi-bin/whois/whois/?STRING=',
'no' => 'www.ripe.net/cgi-bin/whois?query=',
'nz' => 'www.domainz.net.nz/facility/namesearch/Result.asp?prmMode=Search&DomainName=',
'org'=> 'www.networksolutions.com/cgi-bin/whois/whois/?STRING=',
'pt' => 'www.ripe.net/cgi-bin/whois?query=',
'ro' => 'whois.rotld.ro/cgi-bin/whois?whois=',
'sk' => 'www.ripe.net/cgi-bin/whois?query=',
'sm' => 'www.ripe.net/cgi-bin/whois?query=',
'tc' => 'www.adamsnames.tc/whois/?seen=y&domain=',
'tf' => 'www.adamsnames.tc/whois/?seen=y&domain=',
'th' => 'www.thnic.net/cgi-bin/whois.pl?server=whois.thnic.net&string=',
'tj' => 'www.nic.tj/whois.cgi?domain',
'tr' => 'whois.cc.metu.edu.tr/whois/wwwwhois?Whois=',
'uk' => 'www.nic.uk/cgi-bin/whois.cgi?query=',
'va' => 'www.ripe.net/cgi-bin/whois?query=',
'vg' => 'www.adamsnames.tc/whois/?seen=y&domain='
);
# where can we get more info?
$moreinfo = FALSE;
for ( reset($moreinfolist) ; list($tail, $moreinfoname) = each($moreinfolist) ; )
if ( eregi("\\.$tail\$", $address) ) { // 比较域名后缀
$moreinfo = $moreinfoname; // 遇到匹配项就立即结束循环
break;
}
if ( $moreinfo && $address) { // 跳转到WHOIS主机
header('Location: http://'. $moreinfo . $address);
exit();
}
else {
echo "<form action=$PHP_SELF method=post>
请输入域名:<input name=address>
<input type=submit></form>";
}
?>
<html>
<head>
<title>whois tool</title>
</head>
<body>
<p>网络技术主管汉化解释</a>.</p>
<hr />
<address>http://www.ctohome.com</address>
</body>
</html>
<?php
highlight_file("whois.php");
?>
<?php
// 网络技术主管座右铭:三人行,其必有我师焉。http://www.ctohome.com
// 这个代码可以是说是非常的SMART,我改动了小小部分使它更容易用。
$moreinfolist = array( // 储存WHOIS查询主机的连接方法
'at' => 'www.ripe.net/cgi-bin/whois?query=',
'au' => 'www.aunic.net/cgi-bin/whois.aunic?',
'bm' => 'www.bermudanic.bm/cgi-bin/BermudaNIC/rwhois_query_get.pl?query_text=',
'ch' => 'www.switch.ch/cgi-bin/domain/search_domain?keyword=',
'com'=> 'www.networksolutions.com/cgi-bin/whois/whois/?STRING=',
'cz' => 'www.ripe.net/cgi-bin/whois?query=',
'de' => 'www.ripe.net/cgi-bin/whois?query=',
'dk' => 'www.ripe.net/cgi-bin/whois?query=',
'edu'=> 'www.networksolutions.com/cgi-bin/whois/whois/?STRING=',
'es' => 'www.nic.es/whois/index.php?type=Dominios&key=',
'fi' => 'www.ripe.net/cgi-bin/whois?query=',
'fo' => 'www.ripe.net/cgi-bin/whois?query=',
'fr' => 'harmonic.nic.fr/cgi-bin/HarmoNIC.pl?Annu_Suffixe=&Annu_Action=Rechercher&Annu_Automaton_State=17&Annu_Motif=',
'gl' => 'www.ripe.net/cgi-bin/whois?query=',
'gm' => 'www.ripe.net/cgi-bin/whois?query=',
'gov'=> 'www.nic.gov/cgi-bin/whois?s=nic.gov',
'gr' => 'www.ripe.net/cgi-bin/whois?query=',
'hu' => 'www.ripe.net/cgi-bin/whois?query=',
'id' => 'whois.idnic.net.id/cgi-bin/whois-cgi?user=',
'ie' => 'www.ripe.net/cgi-bin/whois?query=',
'il' => 'www.ripe.net/cgi-bin/whois?query=',
'is' => 'www.ripe.net/cgi-bin/whois?query=',
'it' => 'www.ripe.net/cgi-bin/whois?query=',
'jp' => 'www.nic.ad.jp/cgi-bin/whois_gw?lang=/e&type=DOM&rule=ex&key=',
'lb' => 'www.aub.edu.lb/cgi-bin/lbdr.pl?cn=',
'li' => 'www.switch.ch/cgi-bin/domain/search_domain?keyword=',
'lt' => 'www.ripe.net/cgi-bin/whois?query=',
'lv' => 'www.ripe.net/cgi-bin/whois?query=',
'mc' => 'www.ripe.net/cgi-bin/whois?query=',
'mil'=> 'www.nic.mil/cgi-bin/whois?stype=Domains&ctype=reg&keyword=',
'ms' => 'www.adamsnames.tc/whois/?seen=y&domain=',
'mx' => 'www.nic.mx/cgi/whois?',
'net'=> 'www.networksolutions.com/cgi-bin/whois/whois/?STRING=',
'no' => 'www.ripe.net/cgi-bin/whois?query=',
'nz' => 'www.domainz.net.nz/facility/namesearch/Result.asp?prmMode=Search&DomainName=',
'org'=> 'www.networksolutions.com/cgi-bin/whois/whois/?STRING=',
'pt' => 'www.ripe.net/cgi-bin/whois?query=',
'ro' => 'whois.rotld.ro/cgi-bin/whois?whois=',
'sk' => 'www.ripe.net/cgi-bin/whois?query=',
'sm' => 'www.ripe.net/cgi-bin/whois?query=',
'tc' => 'www.adamsnames.tc/whois/?seen=y&domain=',
'tf' => 'www.adamsnames.tc/whois/?seen=y&domain=',
'th' => 'www.thnic.net/cgi-bin/whois.pl?server=whois.thnic.net&string=',
'tj' => 'www.nic.tj/whois.cgi?domain',
'tr' => 'whois.cc.metu.edu.tr/whois/wwwwhois?Whois=',
'uk' => 'www.nic.uk/cgi-bin/whois.cgi?query=',
'va' => 'www.ripe.net/cgi-bin/whois?query=',
'vg' => 'www.adamsnames.tc/whois/?seen=y&domain='
);
# where can we get more info?
$moreinfo = FALSE;
for ( reset($moreinfolist) ; list($tail, $moreinfoname) = each($moreinfolist) ; )
if ( eregi("\\.$tail\$", $address) ) { // 比较域名后缀
$moreinfo = $moreinfoname; // 遇到匹配项就立即结束循环
break;
}
if ( $moreinfo && $address) { // 跳转到WHOIS主机
header('Location: http://'. $moreinfo . $address);
exit();
}
else {
echo "<form action=$PHP_SELF method=post>
请输入域名:<input name=address>
<input type=submit></form>";
}
?>
<html>
<head>
<title>whois tool</title>
</head>
<body>
<p>网络技术主管汉化解释</a>.</p>
<hr />
<address>http://www.ctohome.com</address>
</body>
</html>
<?php
highlight_file("whois.php");
?>
华山资源网 Design By www.eoogi.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
华山资源网 Design By www.eoogi.com
暂无评论...
更新日志
2024年12月30日
2024年12月30日
- 小骆驼-《草原狼2(蓝光CD)》[原抓WAV+CUE]
- 群星《欢迎来到我身边 电影原声专辑》[320K/MP3][105.02MB]
- 群星《欢迎来到我身边 电影原声专辑》[FLAC/分轨][480.9MB]
- 雷婷《梦里蓝天HQⅡ》 2023头版限量编号低速原抓[WAV+CUE][463M]
- 群星《2024好听新歌42》AI调整音效【WAV分轨】
- 王思雨-《思念陪着鸿雁飞》WAV
- 王思雨《喜马拉雅HQ》头版限量编号[WAV+CUE]
- 李健《无时无刻》[WAV+CUE][590M]
- 陈奕迅《酝酿》[WAV分轨][502M]
- 卓依婷《化蝶》2CD[WAV+CUE][1.1G]
- 群星《吉他王(黑胶CD)》[WAV+CUE]
- 齐秦《穿乐(穿越)》[WAV+CUE]
- 发烧珍品《数位CD音响测试-动向效果(九)》【WAV+CUE】
- 邝美云《邝美云精装歌集》[DSF][1.6G]
- 吕方《爱一回伤一回》[WAV+CUE][454M]