Reply to Delete a directory and all its files and sub-directories?
Posted by laredotornado on 01/04/07 21:31
Hi,
Does anyone know of, or have code that will delete a php directory and
all its sub directories and files. "unlink" and "rmdir" don't do this.
I'd prefer not to use "exec" with a system call but if that's the only
way, so be it.