<?
$site=$r[url_location];
$adres=file_get_contents($site);      
preg_match("#<title>(.*?)<\/title>#si",$adres,$title);
echo $title[1];
?>