Now each of those directories has a file I made called index.php
What If I wanted to delete Snowmobile directory and everything in it, see I can't just rmdir I need to go in there delete all the files and directories first.
Yeah, I think you are going to have to loop through the files in the directory and delete them first. You will also have to loop through sub-directorys and delete the files inside them. You use unlink() to delete files.
Bookmarks