This commit is contained in:
awesomeuser 2023-08-04 16:14:15 +00:00
parent a785c57689
commit 2265ffb3f2

View file

@ -200,7 +200,7 @@
<?php <?php
// ensure the file exists before attempting to read from it // ensure the file exists before attempting to read from it
if (!file_exists("posts.txt")) { if (!file_exists("posts.txt")) {
$myfile = fopen("posts.txt", "w"); $myfile = fopen("posts.txt", "a");
fclose($myfile); fclose($myfile);
} }