baseline 7.4 as-is produzione

This commit is contained in:
2026-09-09 14:32:53 +00:00
commit 71ec465d7a
3638 changed files with 859299 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
<?php␍
if($_POST&#91;'Submit']){␍
$open = fopen("general.txt","w+");␍
$text = $_POST&#91;'update'];␍
fwrite($open, $text);␍
fclose($open);␍
echo "File updated.&lt;br />"; ␍
echo "File:&lt;br />";␍
$file = file("myfile.txt");␍
foreach($file as $text) {␍
echo $text."&lt;br />";␍
}␍
}else{␍
$file = file("textfile.txt");␍
echo "&lt;form action=\"".$PHP_SELF."\" method=\"post\">";␍
echo "&lt;textarea Name=\"update\" cols=\"50\" rows=\"10\">";␍
foreach($file as $text) {␍
echo $text;␍
} ␍
echo "&lt;/textarea>";␍
echo "&lt;input name=\"Submit\" type=\"submit\" value=\"Update\" />\n␍
&lt;/form>";␍
}␍
?>