$url = "https://www.xiaolutg.com";
$arr = @file_get_contents($url);
preg_match_all("/<img.*src\s*=\s*[\"|\']?\s*([^>\"\'\s*]*)/i", $arr , $matches);
echo "<pre>";
echo $matches;
echo "</pre>";
$url = "https://www.xiaolutg.com";
$arr = @file_get_contents($url);
preg_match_all("/<img.*src\s*=\s*[\"|\']?\s*([^>\"\'\s*]*)/i", $arr , $matches);
echo "<pre>";
echo $matches;
echo "</pre>";