i'd like users to be able to logon and add text to this file, then view its contents. when i run the script, i dont get any die errors, but it doesn't echo the contents and the file does not get changed. any ideas?
fopen(test.txt,"a")
or die("fopen Error");
fwrite(test.txt,add this text)
or die("fwrite error");
fclose(test.txt)
or die("fclose error");
$open = file_get_contents(test.txt)
or die("get contents error");
echo($open);
thanks ~JOSH