I want to block the extensions that I have banned, but I do not want to block or alter (the current default behavior) extensions with trailing dots on the end. Can I just edit this line to do what I want: $re = '\.' . $bad_exts . '\.*$'; If not, please tell me what to edit. Thanks Mark Penkower We are not laible