I am working on a website and have had some code written for me (as I am a wysiwyg worshipper) which should in theory allow visitors to the website to download pdf files from the website.
The php code I have been given, should force the link to provide the user with an option to either open or save rather than simply opening the pdf in the browser.
However, what actaully happens is that although the pop windows giving the option to save the pdf is displayed, when you select the save option it appears as though the download is working and then reports that the file has been successfully downloaded - BUT it only actually downloads a 1kb file although all of the downloads are in excess of 600kb???
I know absoultely nothing about HTML or PHP and as such don't know what to do to get the download to work correctly - any advice would be greatly appreciated.
Many thanks
Sherri
I have attached the php file so that you can see the code I am talking about.