İşte belgeli exp :: ördekler üzerinden bunu yapmak için bir yol ::
$url = 'http://stackoverflow.com/questions/1811616/how-to-retrieve-the-title-part-of-other-web-page-like-google-or-yahoo-using-php';
preg_match('~<title>(.*?)</title>~i', file_get_contents($url), $match);
echo $match[1];