<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --><?php $baidu = file_get_contents("http://www.baidu.com/s?wd=site:www.baidu.com"); preg_match('/找到相关结果数(.+)个/', $baidu, $baidu_site_num); print_r($baidu_site_num); ?>