[thelist] PHP Questions

Jay Blanchard jay.blanchard at niicommunications.com
Mon Sep 30 07:05:01 CDT 2002

Q1, is there a better list to ask PHP questions on?

You may want to subscribe to the PHP list at http://www.php.net . There are
many list options available including a general list. You will see a few
Evolter's there as well :^]


I have a complicated directory/subdirectory structure on my web server,
into which I am saving static html files created with a PHP script.

What I'd like to do is have a way of deleting all the .htm files from
the directories before writing the new ones.

It's not as easy as having PHP overwrite the file, because there might
be files that are not being created again.

Anyone got any tips, tutorials or code snippets that would allow me to
automatically delete *.htm files from all sub-directories off a given

Any server side technique would do, doesn't have to be PHP, but I really
want to automate the process.

I have Apache (winXP on dev machine, Linux on main host)

Start here;


You will have to have permissions set properly to remove those files, etc.



More information about the thelist mailing list