the title of default page stATES Incompatible Browser | Facebook..but the original title of index page is welcome to facebooK
the code used by me is this
Code: Select all
<?php
$url = "http://www.facebook.com";
$str = file_get_contents($url);
echo '<pre>';
echo htmlentities($str);
?>
and it works ok for it