[关闭]\r\n"; preg_match_all("/(src|SRC)=[\"|'| ]{0,}(http:\/\/(.*)\.(gif|jpg|jpeg|png))/isU", $myhtml, $img_array); $img_array = array_unique($img_array[2]); echo "