Re: PDF Issues [message #1015 is a reply to message #1014] |
Tue, 31 July 2007 05:42 ![Go to previous message Go to previous message](/theme/default/images/up.png) ![Go to next message Go to previous message](/theme/default/images/down.png) |
AJM
Messages: 2361 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
When I use the instruction the generated filename is the script name with '.php' automatically changed to '.pdf', and this works in both IE and Firefox.
If the PDF documents are generated OK from a Windows server but not OK from a Linux server then there must be something on the Linux server which is causing a corruption. It cannot be anything wrong with the code supplied by me otherwise it would not work on ANY server.
The message "PDF IS DAMAGED AND CANNOT BE REPAIRED" does not give me any clues as to what is wrong so I do not have any idea where to look to apply a fix.
If you have the same data on the Windows and Linx servers I can only suggest that you create a PDF that works on the Windows machine, a PDF that does not work on the Linux machine, and save both files to disk so that you can run a 'diff' to highlight any differences between the two files.
You may be using Adobe Acrobat 6.0 Professional, but what version of the free Adobe reader are you using? The latest version is 8. Do you have the latest Adobe plug-in installed in your browser?
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|