php-chmod
Recursively change permissions of files and directories.
Screenshots
Description
By Jan Zumwalt - NeatInfo.com Ver 2012-03-14
The latest version can be found at
https://sourceforge.net/projects/php-chmod/
Recursively change files and folders with seperate permissions.
This is a PHP alternative to using: \n
exec("find ".$path." -type f -exec chmod 644 {} \;");
exec("find ".$path." -type d -exec chmod 755 {} \;");
Set these three variables.
$path: Relative or absolute path to file or directory to process.
$filePerm: The permission for files.
$dirPerm: The permission for directory folders.
The permissions are in octal format, so a leading zero "0" is needed
in front of the permission level. See http://php.net/chmod
Features
- Recursively change file and directory permissions with different permissions.
- Browser output shows changes
Update Notifications
User Reviews
Be the first to post a review of php-chmod!