網路函式庫

checkdnsrr

(PHP3 , PHP4)

checkdnsrr ---  檢查DNS記錄

語法 : int checkdnsrr (string host [, string type])

說明 : 

搜尋DNS型態type的記錄,如果找到記錄則傳回true,如果找不到記錄或是發生錯誤則傳回false

type可以是AMXNSSOAPTRCNAME或是ANY的任何一個,預設是MX

host可以是IP位址或是主機名稱

參考 : getmxrr( )  gethostbyaddr( )  gethostbyname( )  gethostbynamel( )


上一頁 首頁 下一頁