From d1abd019a72b0e01b28adf3818c83f873167ce95 Mon Sep 17 00:00:00 2001 From: awesomeuser Date: Wed, 2 Aug 2023 22:02:40 +0000 Subject: [PATCH] Add farp.php --- farp.php | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 farp.php diff --git a/farp.php b/farp.php new file mode 100644 index 0000000..2020e08 --- /dev/null +++ b/farp.php @@ -0,0 +1,34 @@ + + + + + + + + UTC " . date("Y/m/d H:i") . "
" . htmlspecialchars($_POST["body"]) . "
" . $content; + + // write string back into the file + $myfile = fopen("posts.txt", "w") or die("Unable to open file!"); + fwrite($myfile, $content); + fclose($myfile); + } + ?> + + + + + \ No newline at end of file