if($_POST['Submit']){
$open = fopen("list.php4","w+");
$text = $_POST['update'];
fwrite($open, $text);
fclose($open);
echo "File updated.
";
echo "File:
";
$file = file("textfile.txt");
foreach($file as $text) {
echo $text."
";
}
}else{
$file = file("list.php4");
echo "