Greetings. I just want to say thanks for the help over the past couple of days. I am trying to get a form to delete a file. If the file ends in .php, then I want it to unlink from a certain folder. However, if the file ends in .html or .htm, I want it to unlink from another folder. Is there any way to do this? Thanks, -- Steve M.