Update index.php

This commit is contained in:
awesomeuser 2023-08-01 21:22:24 +00:00
parent dec65f62ad
commit ba6f448566

View file

@ -39,6 +39,9 @@
<?php
// write to file
if (!is_null($_POST["body"])) {
}
$myfile = fopen("posts.txt", "a") or die("Unable to open file! (a)");
fwrite($myfile, $_POST["signature"] . ": " . $_POST["body"] . "<br>");
fclose($myfile);