1 $url = 'http://ip.taobao.com/service/getIpInfo.php?ip=115.239.211.112'; 2 $info = file_get_contents($url); 3 $info = json_decode($info,true);
1 $url = 'http://ip.taobao.com/service/getIpInfo.php?ip=115.239.211.112'; 2 $info = file_get_contents($url); 3 $info = json_decode($info,true);