These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Create PDF file for Website download

Tommy2
Registered: Oct 23 2010
Posts: 1

I've been trying to allow users to download a PDF file from my Website using some php script. The script works fine and allows the test file to be downloaded, but when I try to open the PDF file I receive the following message:
 
Acrobat could not open 'Test.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).
 
I have emailed the same file to myself and it opens fine, anyone got any ideas as to what I've done wrong with the creation, which I've tried creating from both Word 2007 and 2003?
 
Thank you!!!

My Product Information:
Acrobat Pro 8.1.4, Windows
rizwan abbasi
Registered: Dec 27 2010
Posts: 1
will you plz tell me which php script is direct pdf download file never open in browser thanks