make post values none after use

This commit is contained in:
awesomeuser 2023-08-02 21:55:10 +00:00
parent ac3bb71bd8
commit 75172b3afb

View file

@ -130,6 +130,9 @@
$myfile = fopen("posts.txt", "w") or die("Unable to open file!"); $myfile = fopen("posts.txt", "w") or die("Unable to open file!");
fwrite($myfile, $content); fwrite($myfile, $content);
fclose($myfile); fclose($myfile);
$_POST["signature"] = null;
$_POST["body"] = null;
} }
// show content // show content