PHP whois查询类定义与用法示例

时间:2021-05-26

本文实例讲述了PHP whois查询类定义与用法。分享给大家供大家参考,具体如下:

whois.class.php

<?phpclass Whois{private $WHOIS_SERVERS = array("com" => array("whois.verisign-grs.com","whois.crsnic.net"),"net" => array("whois.verisign-grs.com","whois.crsnic.net"),"org" => array("whois.pir.org","whois.publicinterestregistry.net"),"info" => array("whois.afilias.info","whois.afilias.net"),"biz" => array("whois.neulevel.biz"),"us" => array("whois.nic.us"),"uk" => array("whois.nic.uk"),"ca" => array("whois.cira.ca"),"tel" => array("whois.nic.tel"),"ie" => array("whois.iedr.ie","whois.domainregistry.ie"),"it" => array("whois.nic.it"),"li" => array("whois.nic.li"),"no" => array("whois.norid.no"),"cc" => array("whois.nic.cc"),"eu" => array("whois.eu"),"nu" => array("whois.nic.nu"),"au" => array("whois.aunic.net","whois.ausregistry.net.au"),"de" => array("whois.denic.de"),"ws" => array("whois.worldsite.ws","whois.nic.ws",", .NET, .EDU domains and Registrars.

更多关于PHP相关内容感兴趣的读者可查看本站专题:《php socket用法总结》、《php字符串(string)用法总结》、《PHP数学运算技巧总结》、《php面向对象程序设计入门教程》、《PHP数组(Array)操作技巧大全》、《PHP数据结构与算法教程》、《php程序设计算法总结》及《PHP网络编程技巧总结》

希望本文所述对大家PHP程序设计有所帮助。

声明:本页内容来源网络,仅供用户参考;我单位不保证亦不表示资料全面及准确无误,也不保证亦不表示这些资料为最新信息,如因任何原因,本网内容或者用户因倚赖本网内容造成任何损失或损害,我单位将不会负任何法律责任。如涉及版权问题,请提交至online#300.cn邮箱联系删除。

相关文章