_Shaman_, Простейшый скрипт
if(isset($_POST['add']))
file_put_contents("file.dat", $_POST['text']);
echo '<form method="post"><textarea name="text">'.htmlspecialchars(file_get_contents("file.dat")).'</textarea><input type="submit" name="add" /></form>';