首页 > 技术文章 > 获得ip
hupengyin 2015-11-22 17:28 原文
方法:
1.get_client_ip()
2.gethostbyname(gethostbyaddr($_SERVER['REMOTE_ADDR']))