调用搜狐IP地址库,根据不同访问者的IP,显示访问地址
<script src="http://pv.sohu.com/cityjson?ie=utf-8"></script> <script type="text/javascript"> console.log(returnCitySN) document.write(returnCitySN["cip"]+','+returnCitySN["cname"]) </script>
<script src="http://pv.sohu.com/cityjson?ie=utf-8"></script> <script type="text/javascript"> console.log(returnCitySN) document.write(returnCitySN["cip"]+','+returnCitySN["cname"]) </script>