利用新浪接口获取客户端ip
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>JavaScript获取客户端IP[利用新浪接口]</title>
</head>
<body>
<script src="http://pv.sohu.com/cityjson?ie=utf-8"></script>
<script type="text/javascript">
document.write(returnCitySN["cip"]+','+returnCitySN["cname"])
</script>
</body>
</html>
<div>
<div>
<div></div>
</div>
<div>
<div>
<div>
<div>1</div>
<div>服务要求</div>
</div>
<div></div>
</div>
</div>
</div>