传回机器名称。
语法: string gethostbyaddr(string ip_address);
传回值: 字串
函式种类: 网路系统
本函式可传回某个 IP 网址的机器名称 (Domain Name)。若执行失败,则传回原来的 IP 网址。
下例的传回值为 dns.biglobe.net.tw<?echo gethostbyaddr("202.166.255.97");?>
gethostbyname()