<?phpfunction getTitle($Url){ $str = file_get_contents($Url); if(strlen($str)>0){ preg_match("/\<title\>(.*)\<\/title\>/",$str,$title); return $title[1]; }}//Example:$url = $_GET['url'];echo "Title : ".getTitle("$url");?>Example To Use : http://www.yourdomain.com/me.php?url=http://dewafiles.p.ht/
Demo
http://dewafiles.net/get_info_title.php?url=http://dewafiles.net/Download Source