I actually thought about unlink. My question is, will it descend into a dir, and recursively delete? I consulted the unlink reference here, and tested after you made this suggestion, and found that it doesn't(possibly due to su restrictions). rmdir() would work for this, but it will not support deleting a directory recursively, any other suggestions?
--
Yes, I am a criminal.
My crime is that of defyance.