Update index.php
This commit is contained in:
parent
c6e4e9ef08
commit
8514c2d45b
1 changed files with 2 additions and 2 deletions
|
@ -43,9 +43,9 @@
|
||||||
$myfile = fopen("posts.txt", "a") or die("Unable to open file! (a)");
|
$myfile = fopen("posts.txt", "a") or die("Unable to open file! (a)");
|
||||||
|
|
||||||
if (false) {
|
if (false) {
|
||||||
fwrite($myfile, htmlspecialchars($_POST["signature"]) . ": " . htmlspecialchars($_POST["body"]) . "<br>");
|
|
||||||
} else {
|
|
||||||
fwrite($myfile, "anon: " . htmlspecialchars($_POST["body"]) . "<br>");
|
fwrite($myfile, "anon: " . htmlspecialchars($_POST["body"]) . "<br>");
|
||||||
|
} else {
|
||||||
|
fwrite($myfile, htmlspecialchars($_POST["signature"]) . ": " . htmlspecialchars($_POST["body"]) . "<br>");
|
||||||
}
|
}
|
||||||
|
|
||||||
fclose($myfile);
|
fclose($myfile);
|
||||||
|
|
Reference in a new issue