Update index.php
This commit is contained in:
parent
eb22930eb7
commit
03d3e53e23
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$myfile = fopen("posts.txt", "r+") or die("Unable to open file!");
|
$myfile = fopen("posts.txt", "w") or die("Unable to open file!");
|
||||||
fwrite($myfile, $_POST["signature"] + ": " + $_POST["body"] + "<br>");
|
fwrite($myfile, $_POST["signature"] + ": " + $_POST["body"] + "<br>");
|
||||||
fclose($myfile);
|
fclose($myfile);
|
||||||
?>
|
?>
|
||||||
|
|
Reference in a new issue