test
This commit is contained in:
parent
6cfcc958c0
commit
c6e4e9ef08
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@
|
||||||
if (!is_null($_POST["body"]) && strlen($_POST["body"]) != 0) {
|
if (!is_null($_POST["body"]) && strlen($_POST["body"]) != 0) {
|
||||||
$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 (!is_null($_POST["signature"]) && strlen($_POST["signature"]) != 0) {
|
if (false) {
|
||||||
fwrite($myfile, htmlspecialchars($_POST["signature"]) . ": " . htmlspecialchars($_POST["body"]) . "<br>");
|
fwrite($myfile, htmlspecialchars($_POST["signature"]) . ": " . htmlspecialchars($_POST["body"]) . "<br>");
|
||||||
} else {
|
} else {
|
||||||
fwrite($myfile, "anon: " . htmlspecialchars($_POST["body"]) . "<br>");
|
fwrite($myfile, "anon: " . htmlspecialchars($_POST["body"]) . "<br>");
|
||||||
|
|
Reference in a new issue