Update index.php
This commit is contained in:
parent
b33fdfdac2
commit
ba04ad702d
1 changed files with 4 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
|
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
|
||||||
background: var(--accent);
|
background: var(--accent);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
@ -30,8 +30,8 @@
|
||||||
<br><br>
|
<br><br>
|
||||||
|
|
||||||
<form method="post">
|
<form method="post">
|
||||||
Signature: <input type="text" name="signature"><br>
|
|
||||||
<textarea id="body-input" name="body"></textarea>
|
<textarea id="body-input" name="body"></textarea>
|
||||||
|
Signature (optional): <input type="text" name="signature"><br>
|
||||||
<input type="submit">
|
<input type="submit">
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
@ -40,6 +40,8 @@
|
||||||
<br><br>
|
<br><br>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
echo $_POST["signature"];
|
||||||
|
echo $_POST["body"];
|
||||||
echo readfile("posts.txt");
|
echo readfile("posts.txt");
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
Reference in a new issue