Originally Posted by onlinespending
The problem is that he browser is not reading the file type and adding the extension. Let it download, the open of with a file manager and rename it. Don't open it in the browser or you will get error. For example, If I know that the file should be a PDF, then I rename download.PHP to download.PDF and it will open up. The patch should be easy...it Needs to parse the PHP and get the file extension of the referenced file...then just tack it on some generic name....then the mime would work fine....or should anyways.