<?php$data = file_get_contents("textfile.txt");echo "$data";?>
<? if ($f = fopen("/path/to/file.txt", "r")) { $file_data = ""; while (!feof($f)) $file_data .= fgets($f, 4096); fclose($f); } echo $file_data; ?>
<?php include('data.txt') ?>