Update index.php

This commit is contained in:
awesomeuser 2023-08-01 19:39:25 +00:00
parent b33fdfdac2
commit ba04ad702d

View file

@ -30,8 +30,8 @@
<br><br>
<form method="post">
Signature: <input type="text" name="signature"><br>
<textarea id="body-input" name="body"></textarea>
Signature (optional): <input type="text" name="signature"><br>
<input type="submit">
</form>
@ -40,6 +40,8 @@
<br><br>
<?php
echo $_POST["signature"];
echo $_POST["body"];
echo readfile("posts.txt");
?>
</div>