Recently Popular Folders Tagged Tutorials



Oct 3

How to remove a (non-empty) directory

Posted by , in PHP Tutorials

Here’s a snippet that can help you to remove a non-empty directory from the server. It’s a recursive function that deletes the directory with its files, folders and sub-folders.

Popularity: 16.7%

Thumbnail for How to remove a (non-empty) directory
Clique It