Published by admin at December 22, 2015 <?php copydir(“source”,”destination”); echo “done”; function copydir($source,$destination) { if(!is_dir($destination)){ $oldumask = umask(0); mkdir($destination, 01777); // so you get the sticky bit set umask($oldumask); } $dir_handle = @opendir($source) […]