Here you go, this should do the trick: <?php //replace this with the url of your page $html = file_get_contents('http://forums.digitalpoint.com/index.php'); if(preg_match('/<title>(.*)<\/title>/smU', $html, $matches)) { $title = $matches[1]; echo $title; } else { echo("Tite tag could'nt be found"); } ?> PHP: Example output: Webmaster Forum - Internet Marketing & Search Engine Forums Code (markup):