Possible Duplicate:
How do I recursively delete a directory and its entire contents (files+sub dirs) in PHP?
I need to recursively delete a directory and subdirectories that aren't empty. I can't find any useful class or function to solve this problem.
In advance thanks for your answers.