$file = "http://www.sito.ext/file.txt";

$file_remoto = implode("", file($file));

echo $file_remoto