Update index.php
This commit is contained in:
parent
3ab0f6d2f4
commit
f0121d78da
1 changed files with 2 additions and 3 deletions
|
@ -33,6 +33,7 @@
|
|||
box-shadow: 0px 0px 10px gray;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.post h1 {
|
||||
|
@ -58,8 +59,6 @@
|
|||
|
||||
<div class="post">
|
||||
<h1><span style="color: var(--accent);">furp</span>social</h1>
|
||||
|
||||
<hr>
|
||||
|
||||
<form method="post">
|
||||
<textarea id="body-input" name="body"></textarea>
|
||||
|
@ -77,7 +76,7 @@
|
|||
$myfile = fopen("posts.txt", "a") or die("Unable to open file! (a)");
|
||||
|
||||
if (!is_null($_POST["signature"]) && strlen($_POST["signature"]) != 0) {
|
||||
fwrite($myfile, htmlspecialchars($_POST["signature"]) . " [UTC " . 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:sa") .*/ "] " . htmlspecialchars($_POST["body"]) . "<br>");
|
||||
} else {
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue