摘要: //通过搜狐接口获取用户的ip; $json = file_get_contents('http://pv.sohu.com/cityjson?ie=utf-8'); preg_match_all('/"cip"\s*:\s*"([^"]+)"/', $json, $result, PREG_SET_ORDER); if (empty($r... 阅读全文
posted @ 2018-11-21 10:18 王芬老师 阅读(1241) 评论(0) 推荐(0) 编辑