Joseph Brennan wrote: > Staring at this: > $re = '\.' . $bad_exts . '\.*$'; > This catches harmless example.com.pdf and more complicated things. The sample filter has bit-rotted for a while now and probably needs an overhaul. If anyone would like to do it, patches gratefully accepted. Regards, David.