10.03.2019, 10:02
Hey!
Why wouldnt this code write anything ? No matter if I change mode on top to "w" as write, still nothing.
I'm using FileManager 1.4 plugin and include.
Why wouldnt this code write anything ? No matter if I change mode on top to "w" as write, still nothing.
PHP Code:
new File:Test;
Test = f_open("scriptfiles/test.txt", "a");
if(!Test)
{
file_create("scriptfiles/test.txt");
f_write(Test, "hello");
}