hi,
Ansatz:
<?php
$filename = "data.txt";
$fp = fopen ($filename, "r");
$inhalt = fread ($fp, filesize ($filename));
echo $inhalt;
?>
warum so umständlich?
beispielsweise readfile() oder file_get_contents() eignen sich doch viel besser für so einen zweck (wenn die php-code ausführende wirkung eines include/require nicht gewünscht ist).
gruß,
wahsaga
--
"Look, that's why there's rules, understand? So that you _think_ before you break 'em."
"Look, that's why there's rules, understand? So that you _think_ before you break 'em."