<?
$url = 'http://www.google.es';
$lineas = file($url);
for ($i = 0; $i <count($lineas); $i++)
{
	$total = $total.htmlentities($lineas[$i])."<br/>";
}
echo $total;
?>