Home > Article > Backend Development > How to delete a specified directory in php_PHP tutorial
This article describes the method of deleting the specified directory in php. Share it with everyone for your reference. The specific analysis is as follows:
This code can realize the function of recursively deleting subdirectories
4 11 12 |
<🎜>/**<🎜>
<🎜>* Delete a file, or a folder and its contents<🎜>
<🎜>* (recursive algorithm)<🎜>
<🎜>* @author Aidan Lister |