[thelist] PHP Questions

Tony Crockford tonyc at boldfish.co.uk
Tue Oct 1 04:22:04 CDT 2002


> 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




More information about the thelist mailing list