/ Published in: PHP
Heavily based on "Recursive chmod in PHP" by Tenzer ( 03/10/08 http://snipplr.com/view/5350/ )
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function rChmod($path, $filePerm=0664, $dirPerm=0775) { return(false); { foreach($entries as $entry) rChmod($path.DIRECTORY_SEPARATOR.$entry, $filePerm, $dirPerm); } return(true); }
URL: http://madcity.at/