fix
This commit is contained in:
parent
3ea23ed190
commit
eaa44c41d4
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@
|
||||||
if (!is_null($_POST["signature"]) && strlen($_POST["signature"]) != 0) {
|
if (!is_null($_POST["signature"]) && strlen($_POST["signature"]) != 0) {
|
||||||
$signature = htmlspecialchars($_POST["signature"]);
|
$signature = htmlspecialchars($_POST["signature"]);
|
||||||
}
|
}
|
||||||
$content = $signature . " [UTC " . date("m/d/Y H:i") . "] " . htmlspecialchars($_POST["body"]) . "<br>" . $construct;
|
$content = $signature . " [UTC " . date("m/d/Y H:i") . "] " . htmlspecialchars($_POST["body"]) . "<br>" . $content;
|
||||||
|
|
||||||
// write string back into the file
|
// write string back into the file
|
||||||
$myfile = fopen("posts.txt", "w") or die("Unable to open file!");
|
$myfile = fopen("posts.txt", "w") or die("Unable to open file!");
|
||||||
|
|
Reference in a new issue