Incorrect File type when uploading PDF's

See all posts See thread Reply

Re: Incorrect File type when uploading PDF's new!
by colin, 14 years, 12 months ago
Your system doesn't detect MIME types properly, so the class has to rely on the information the browser gives. It also looks like the file is uploaded via Flash, which results in the MIME type sent by the browser to be application/force-download

Make sure that your system can detect MIME types properly, or that your browser sends the right MIME type. Note that I am not supporting the use of the class on Windows systems.Reply