正則匹配之匹配網頁img

http://china.nba.com/photos/爲例 <?php $str = file_get_contents('http://china.nba.com/photos/'); $preg = preg_match_all('/<img(?:.*)src="(.*?)"(?:.*)>/', $str, $m); var_dump($m);
相關文章
相關標籤/搜索