if i have a file structure as follow:
suppose A is the parent folder and it has sub-folders (-->)...
for example folderA-->folderB-->folderC
now in php, if i want to remove folder A....how can I automatically remove also all the files in folderB and folderC in the file server?
thanks
file handling
Moderator: General Moderators
If you look in the user notes at http://uk.php.net/manual/en/function.rmdir.php you will see they have a couple of functions for removing a non-empty directory!