/ Published in: PHP

This function can delete both non-empty directories and files.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function my_delete($dir) { return false; } return true; } if($item != "." && $item != "..") { return false; } } else { my_delete($dir."/".$item); } } } return true; } return false; }
Comments
