您的位置:首页 > 其它

通过新浪接口当前IP地址所在城市

2013-12-25 15:53 295 查看
<html>
<head>
<script src="http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js" type="text/ecmascript"></script>
</head>
<body>
<script>
document.writeln(remote_ip_info["province"] + "省" + ',' + remote_ip_info["city"] + "市");
</script>
</body>
</html>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: