PHP头条
热点:

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('/

www.phpzy.comtrue/phpyy/43024.htmlTechArticlePHP获取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(/...

相关文章

PHP之友评论

今天推荐