> You could then call that like this...
>
> deleteFiles("\.html$", getenv('DOCUMENT_ROOT'));
>
> ... to remove all filenames ending in .html from the document root!
>
Hmm,
I tried that and it deleted all the .html files from my C:\ directory,
but luckily didn't continue down the tree, or I'd have been a little bit
upset.
got any better ideas....
Thanks
Tony