Update index.php
This commit is contained in:
parent
dec65f62ad
commit
ba6f448566
1 changed files with 3 additions and 0 deletions
|
@ -39,6 +39,9 @@
|
|||
|
||||
<?php
|
||||
// write to file
|
||||
if (!is_null($_POST["body"])) {
|
||||
|
||||
}
|
||||
$myfile = fopen("posts.txt", "a") or die("Unable to open file! (a)");
|
||||
fwrite($myfile, $_POST["signature"] . ": " . $_POST["body"] . "<br>");
|
||||
fclose($myfile);
|
||||
|
|
Reference in a new issue