Unable to create text file through PHP script
InfinityFree Forum [Unofficial]
February 9, 2026
My guess, is that like in Linux, just saving to “server.txt” is trying to put it in the root of your account, and doesn’t have access. by putting ./ on the beginning it forced it into the current directory that the script is called from.
this is purely a guess though, because I agree that the original script should have worked.
Discussion in the ATmosphere