Hi,
$str = implode("", @file("index.php")); /* siehe http://www.dclp-faq.de/q/q-datei-lesen.html */
$str = nl2br(htmlentities($str));
<br> halte ich in der textarea für nicht sehr sinnvoll - nl2br weglassen!
echo "<form action='#'><textarea cols='50' rows='20'>";
echo $str;
echo "</textarea></form>";
cu,
Andreas
--
Der Optimist: Das Glas ist halbvoll. - Der Pessimist: Das Glas ist halbleer. - Der Ingenieur: Das Glas ist doppelt so groß wie nötig.
http://mud-guard.de/? http://www.andreas-waechter.de/ http://www.helpers.de/
Der Optimist: Das Glas ist halbvoll. - Der Pessimist: Das Glas ist halbleer. - Der Ingenieur: Das Glas ist doppelt so groß wie nötig.
http://mud-guard.de/? http://www.andreas-waechter.de/ http://www.helpers.de/