From 75172b3afba4d69320a0fcb06a94826e07e46c86 Mon Sep 17 00:00:00 2001 From: awesomeuser Date: Wed, 2 Aug 2023 21:55:10 +0000 Subject: [PATCH] make post values none after use --- index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.php b/index.php index 2e54490..0077cac 100644 --- a/index.php +++ b/index.php @@ -130,6 +130,9 @@ $myfile = fopen("posts.txt", "w") or die("Unable to open file!"); fwrite($myfile, $content); fclose($myfile); + + $_POST["signature"] = null; + $_POST["body"] = null; } // show content