- 博客(1)
- 收藏
- 关注
转载 使用腾迅的api接口,php获取ip地址以及所在城市
<br />http://fw.qq.com/ipaddress返回类似:var IPData = new Array("221.4.154.138","","广西","南宁市");<?php function get_ip_place(){ $ip=file_get_contents("http://fw.qq.com/ipaddress"); $ip=str_replace('"',' ',$ip); $ip2=explode("(",$ip); $a=substr($ip2[1],
2011-02-17 10:43:00 1320
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人