PHP's get_meta_tags function can extract meta-description, meta-keywords etc but cannot find title of the page. Therefore I use following function to catch title of a remote url or a local xhtml file.
function get_page_title($url){
if( !($data = file_get_contents($url)) ) return false;
if( preg_match("#
return trim($t[1]);
} else {
return false;
}
}
Change your user agent / browser / client PHP
Change your user agent / browser / client to avoid being blocked from remote server: