Code
function check_images($file){
$h1count = preg_match_all('/(<img.*?)\s (src="([a-zA-Z0-9\.;:\/\?&=_|\r|\n]{1,})")/isxmU',$file,$patterns);
$imagesarray = array();
array_push($imagesarray,$patterns[3]);
array_push($imagesarray,$patterns[0]);
Sfirsitul in interior