/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function rmdir_recurse($path) { if($file != '.' and $file != '..' ) { $fullpath = $path.$file; } } }
URL: http://www.barattalo.it/2010/02/02/recursive-remove-directory-rmdir-in-php/