This commit is contained in:
awesomeuser 2023-08-01 23:43:17 +00:00
parent 3ea23ed190
commit eaa44c41d4

View file

@ -89,7 +89,7 @@
if (!is_null($_POST["signature"]) && strlen($_POST["signature"]) != 0) { if (!is_null($_POST["signature"]) && strlen($_POST["signature"]) != 0) {
$signature = htmlspecialchars($_POST["signature"]); $signature = htmlspecialchars($_POST["signature"]);
} }
$content = $signature . " [UTC " . date("m/d/Y H:i") . "] " . htmlspecialchars($_POST["body"]) . "<br>" . $construct; $content = $signature . " [UTC " . date("m/d/Y H:i") . "] " . htmlspecialchars($_POST["body"]) . "<br>" . $content;
// write string back into the file // write string back into the file
$myfile = fopen("posts.txt", "w") or die("Unable to open file!"); $myfile = fopen("posts.txt", "w") or die("Unable to open file!");