1 function get_ip_arr()2 {3 $ip=file_get_contents("http://fw.qq.com/ipaddress");4 preg_match_all("/\"(.*)\"/",$ip,$arr);5 return $arr;6 }