SERVER_ADDR

$_SERVER["SERVER_ADDR"]  当前运行脚本的服务器的ip地址

原文地址:https://www.cnblogs.com/pansidong/p/11676115.html