I am using the PHP function mkdir ($ path, 0777) to create a new directory on the Apache server (works on Windows).
When I create this and browse the folders, Windows installed dir as read-only. Is there a way to change this without using exec () for cacls.exe? The PHP documentation states that chmod () does not work on Windows, but says nothing about the replacement method.
Google seems a little useless on this.
EDIT: After a few minutes, talking with administrators at my two-bit school, it seems like their test PHP server for students is running from a USB drive. I have a feeling that this will have something to do with him.
source
share