PHP CURL solo recibe texto
<?
$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