您的位置: 首页 > IT文章 > 获得ip 获得ip 分类: IT文章 • 2024-07-16 16:48:25 方法: 1.get_client_ip() 2.gethostbyname(gethostbyaddr($_SERVER['REMOTE_ADDR']))