/ Published in: PHP
Expand |
Embed | Plain Text
function recursiveDelete($dir) { { { if (($file == ".") || ($file == "..")) { continue; } { // call self for this directory recursiveDelete($dir . '/' . $file); } else { } } } }
You need to login to post a comment.
