Can PHP change file mode?
Every time I install wordpress, etc. I am often asked to change mode to certain number.
I wonder. Given that PhP is a server side script, why can't it change file mode by itself?
That being said, can PhP detect the mod of a file? Can PhP detect that a file is read only, etc....