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
// ensure the file exists before attempting to read from it
if (!file_exists("posts.txt")) {
$myfile = fopen("posts.txt", "w");
$myfile = fopen("posts.txt", "a");
fclose($myfile);
}