hi all.
is there any way to test, if a server, on which a script is uploaded to, allows file/folder-creating/editing/deleting/uploading? thx for help.
j0sh
yes.
o, you want a better answer? [man]stat[/man]
Stat() doesn't provide the answer to what actions the server allows.
You might simply try creating directories, etc., as tests.
if(mkdir("mytest"){ echo "Directory Creation ALLOWED"; rmdir("mytest"); } else{echo "Can't create directories"}
ok thanks. but is it possible to check, if maybe save-mode-restriction is activated or something like that? i don't only wanna see if it works but also give solutions to make it work. 🙂