会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
一个IT少年的个人记事本
首页
新随笔
联系
管理
2016年11月24日
php获取用户 地区 、ip地址
摘要: header("Content-type: text/html; charset=utf-8"); function getCity($ip = '')//获取地区 { if($ip == ''){ $url = "http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=json";//新浪借口获取访问者地...
阅读全文
posted @ 2016-11-24 00:08 MasterC
阅读(8064)
评论(0)
推荐(0)
编辑
公告