Question : php curl get text only
Answered by : xabos
<?
$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);
?>
Source : | Last Update : Thu, 23 Jun 22