PHPで指定したファイルやURLを文字列に読み込む
<?php
$file = file_get_contents('https://xxx.xxx/xxx.html');
echo $file;
?>
xxx.htmlが文字列として読み込まれます。
<?php
$file = file_get_contents('https://xxx.xxx/xxx.html');
echo $file;
?>
xxx.htmlが文字列として読み込まれます。