I\'ve got this piece of code, which should fetch the source code of the website.
$homepage = file_get_contents(\'http://homepage.com\'); echo $homepage;
Either use htmlentities or change the content type.
htmlentities
$homepage = file_get_contents('http://homepage.com'); echo htmlentities($homepage);
or
header('Content-type: text/plain'); $homepage = file_get_contents('http://homepage.com/'); echo $homepage;