preg_match_all('#<img src="(.*?)"(.*?)>#i',$kaynak,$sonuc);

$sonuc[o][1];
$sonuc[1][1];