php curl Получите только текст
<?
$address = file_get_contents('http://www.thesite.com/file.html');
echo $address;
$file = file_get_contents('./file.txt', true);
or
$file = file_get_contents('./file.txt', FILE_USE_INCLUDE_PATH);
?>
Xabos