class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
Basically, the MIME type of your PDF file is not recognized by the class, or by the underlying system.
application/force-download is a weird MIME type. It should be application/pdf for a PDF document.
It is possible that your server is wrongly set up, and misintepret the MIME types. If you have the mime_magic extension enabled with PHP, check its configuration.
it works
application/force-download is a weird MIME type. It should be application/pdf for a PDF document.
It is possible that your server is wrongly set up, and misintepret the MIME types. If you have the mime_magic extension enabled with PHP, check its configuration.
Maybe this page can help.