ok, here is an idea:
<?php $filename = "yourfile.txt";$fd = fopen ($filename , "r"); $fstring = fread ($fd , filesize ($filename)); fclose($fd); ?> <html>...<form action="write.php" method="POST"><textarea name="file" cols="10" rows="30"><?php echo $fstring; ?></textarea></form>...</html>
then write.php:
<?php$filename = "yourfile.txt";$fd = fopen($filename , "w");$fout = fwrite($fd , $_POST['file'] );fclose($fd);?>
then you can add a function for redirecting.LG