一、什么是78m域名查询
78m域名查询是一款用于查询域名信息的工具。通过输入域名,可以获取该域名所属的注册商、注册信息、所有者信息、DNS解析记录等相关信息。
使用78m域名查询可以方便地查询任意域名的基本信息,对于平时日常网络使用、网站建设、域名交易等方面都有很大的帮助。
二、78m域名查询的功能
1、查询域名注册信息:查询域名的注册商、注册时间、到期时间、域名服务器等相关信息。
/*
* 通过Shell命令获取whois信息并解析为对应的属性
*/
public function getWhoisInfo(){
$whoisInfo=shell_exec("whois ".$this->domainName);
//解析
.........
$this->registrar=$registrar;
$this->registrarUrl=$registrarUrl;
$this->creationDate=date("Y-m-d H:i:s",strtotime($creationDate));
$this->expirationDate=date("Y-m-d H:i:s",strtotime($expirationDate));
$this->updatedDate=date("Y-m-d H:i:s",strtotime($updatedDate));
}
原创文章,作者:YUMHN,如若转载,请注明出处:https://www.506064.com/n/349304.html