PHP获取ip对应地区-PHP源码
跳至/** * 获取IP地区 * Enter description here ... * @param unknown_type $ip */ function GetArea($ip){ $url = "http://ip168.com/ip/?ip=".$ip; $contents = file_get_contents($url); // preg_match_all('/
/** * 获取IP地区 * Enter description here ... * @param unknown_type $ip */ function GetArea($ip){ $url = "http://ip168.com/ip/?ip=".$ip; $contents = file_get_contents($url); // preg_match_all('/
PHP之友评论