摘要: <?php$ip = "218.192.3.42";$json = file_get_contents("http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=json&ip=".$ip);$json = json_decode($json, true);echo "IP地址:".$ip;echo "归属地:".$json["country"].$json["province"].$json[&quo 阅读全文
posted @ 2013-05-02 23:12 不负韶华668 阅读(165) 评论(0) 推荐(0) 编辑