一、什麼是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/zh-hk/n/349304.html