test
This commit is contained in:
parent
ce16b5e756
commit
3ab0f6d2f4
1 changed files with 1 additions and 2 deletions
|
@ -77,9 +77,8 @@
|
||||||
$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 (!is_null($_POST["signature"]) && strlen($_POST["signature"]) != 0) {
|
||||||
fwrite($myfile, htmlspecialchars($_POST["signature"]) . " [" . date("m/d/Y") . " " . date("H:i:s") . "] " . htmlspecialchars($_POST["body"]) . "<br>");
|
fwrite($myfile, htmlspecialchars($_POST["signature"]) . " [UTC " . date("m/d/Y") . /*" " . date("H:i:s") .*/ "] " . htmlspecialchars($_POST["body"]) . "<br>");
|
||||||
} else {
|
} else {
|
||||||
fwrite($myfile, htmlspecialchars("anon [" . date("m/d/Y") . " " . date("H:i:s") . "] " . htmlspecialchars($_POST["body"]) . "<br>");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fclose($myfile);
|
fclose($myfile);
|
||||||
|
|
Reference in a new issue