文件名称:city_v1.0
介绍说明--下载内容均来自于网络,请自行研究使用
1、可根据网站访问者的外网ip,切换到访客所在城市,并自动保存cookies值,便于下次访问提速!
2、IP数据来自新浪API,很精准
3、需要刷新一下才能查看到城市信息,因为第一次访问需要设置cookies,可以做成跳转页解决这个问题。
4、为方便演示查看,没有做成自动切换,header( Location:)一下就行-1, according to site visitors outside the network IP switch to visitors cities where they are located, and automatically save cookies value, is convenient for the next access speed!
2, IP data sina API, very accurate
3, need to refresh to see the city information, because the first visit need to set the cookies, can make the jump page to solve this problem.
See 4, for the convenience of presentation, not made automatic switching, header (Location:) on the line
2、IP数据来自新浪API,很精准
3、需要刷新一下才能查看到城市信息,因为第一次访问需要设置cookies,可以做成跳转页解决这个问题。
4、为方便演示查看,没有做成自动切换,header( Location:)一下就行-1, according to site visitors outside the network IP switch to visitors cities where they are located, and automatically save cookies value, is convenient for the next access speed!
2, IP data sina API, very accurate
3, need to refresh to see the city information, because the first visit need to set the cookies, can make the jump page to solve this problem.
See 4, for the convenience of presentation, not made automatic switching, header (Location:) on the line
(系统自动生成,下载前可以参看下载内容)
下载文件列表
city.php
说明.htm