function getTitle($Url){
$str = file_get_contents($Url);
if(strlen($str)>0){
preg_match("/\(.*)\<\/title\>/",$str,$title);
return $title[1];
}
}

echo getTitle ("http://servetusluer.com");
?>


echo vermedim ki direk çekeceksin diye :D