<?php
	$file=file_get_contents("http://www.haberler.com/oldurulen-terorist-turk-hamamlari-ni-yazmis-haberi/");
	preg_match('|<a href="/resim.asp\?haber_id=([0-9]+)" target="_blank">|is',$file,$a);
	$resim='http://www.haberler.com/resim.asp?haber_id='.$a[1];
	echo $resim;
?>
Denedim calısıyor.