I'm putting together some test scripts for some code i'm working with. One common problem is that a folder is not chmod'd properly and it would help to be able to show that via the php test script.
Now, I can see how to change the chmod using php but...
how do I display the current settings?