php 获取机器名

gethostbyaddr($_SERVER['REMOTE_ADDR']);

原文地址:https://www.cnblogs.com/my2018/p/10056631.html