$dosyaAc = fOpen("http://siteadresi.com/belge.txt" , "r");
$dosyaOku = fRead ($dosyaAc , fileSize ("http://siteadresi.com/belge.txt"));
$dosya = fopen ("htmldosta.html" , 'w'); //dosya oluşturma işlemi
$yaz="$dosyaOku"; //uzak sunucudaki okunan txtnin kendi sunucuda oluşturduğumuz html dosyasına yazılması işlemi
fwrite ( $dosya , $yaz ) ;
fclose ($dosya);
include("htmldosya.html");
benim aklıma gelen yöntem bu