I am using the code attached to upload a file, it should only
accept gif or tiff files. When i upload a tiff file, cffile reports
the file as image/jpeg instead of image/tiff. I have tried using
several different files with different tiff compression types etc
and no luck.
Unfortunately that doesn't help when trying to limit users to
only GIF's and TIFF's and not JPG's, BMP's etc.
I have found out that it is actually a problem with internet
explorer. When i submit a file upload in FF it shows the correct
MIME type. In IE it comes through as the incorrect one or
octet/stream.
I have had to change my code to test on file extension
instead.