21,893
社区成员




header("Content-type:text/html;charset=utf-8");
$url="http://www.zootoo.com/petnews/hailtothecatsasalutetofirstfel-1611";
$contents=file_get_contents($url);
$contents=preg_replace('/>(\s+)/','>',$contents);
$contents=str_replace("\r\n",'',$contents);
$contents=str_replace("\t",'',$contents);
//echo $contents;
preg_match_all('~<div class="f_right" style="width: 175px;">(.*?)</div>(.*?)</div><div class="sep_line1 e_push15"></div>~is',$contents,$p);
print_r($p[1]);
print_r($p[2]);