hopefully time works
This commit is contained in:
parent
f0121d78da
commit
f7151f335c
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@
|
||||||
$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"]) . " [UTC " . date("m/d/Y") . " " . /*date("h:i:sa") .*/ "] " . htmlspecialchars($_POST["body"]) . "<br>");
|
fwrite($myfile, htmlspecialchars($_POST["signature"]) . " [UTC " . date("m/d/Y H:i") . "] " . htmlspecialchars($_POST["body"]) . "<br>");
|
||||||
} else {
|
} else {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue