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>
|
<hr>
|
||||||
|
|
||||||
<?php echo $_POST["signature"]; ?>
|
<?php
|
||||||
<br>
|
$myfile = fopen("posts.txt", "r+") or die("Unable to open file!");
|
||||||
<?php echo $_POST["body"]; ?>
|
fwrite($myfile, $_POST["signature"] + ": " + $_POST["body"] + "<br>");
|
||||||
<br>
|
fclose($myfile);
|
||||||
|
?>
|
||||||
<?php echo readfile("posts.txt"); ?>
|
<?php echo readfile("posts.txt"); ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Reference in a new issue