Update index.php
This commit is contained in:
parent
058a998ffe
commit
eb22930eb7
1 changed files with 5 additions and 4 deletions
|
@ -37,10 +37,11 @@
|
|||
|
||||
<hr>
|
||||
|
||||
<?php echo $_POST["signature"]; ?>
|
||||
<br>
|
||||
<?php echo $_POST["body"]; ?>
|
||||
<br>
|
||||
<?php
|
||||
$myfile = fopen("posts.txt", "r+") or die("Unable to open file!");
|
||||
fwrite($myfile, $_POST["signature"] + ": " + $_POST["body"] + "<br>");
|
||||
fclose($myfile);
|
||||
?>
|
||||
<?php echo readfile("posts.txt"); ?>
|
||||
|
||||
</div>
|
||||
|
|
Reference in a new issue