How to Recursively Delete a Directory and its Entire Contents Using PHP Here is a script for recursively delete a directory and its entire contents using PHP