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);
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);