日期:2023-04-14 11:14:28 点击:81 好评:0
问题描述: 已有参数IP,想通过IP获取位置。 解决办法: function getIpAddress($ip){ $url=http://ip.taobao.com/service/getIpInfo.php?ip=.$ip; $result = file_get_contents($url); $result = json_decode($result,true); var_dump($result);...