chmod in PHP

Syntax of chmod in PHP bool chmod(string path, int mode) Attempts to change the permissions of path to mode. mode is expected to be an octal number, such as 0755. An integer value such as 755 or a string value such as “u+x” will not work as expected. Returns true if the operation was successful … Read more