Richard Teasdale
asked on
opening a multiple page pdf using php
Hi : On June 11th I asked a question about calling a pdf from a table row using php. This was answered promptly and effectively by two experts - thanks again!
However, while the pdf opens 'inline' (ie within the browser) - which is my preference - only the FIRST page is revealed. I cannot access second or subsequent pages.
Does anybody know of a way to get the pdf to display every page? or download rather than open inline?
The pdf is NOT stored in a database, nor is a link to it. The pdf is named after the sopcode, and stored in the same directory as the php file. ....but I am willing to try anything to resolve this!
4020304.php
However, while the pdf opens 'inline' (ie within the browser) - which is my preference - only the FIRST page is revealed. I cannot access second or subsequent pages.
Does anybody know of a way to get the pdf to display every page? or download rather than open inline?
The pdf is NOT stored in a database, nor is a link to it. The pdf is named after the sopcode, and stored in the same directory as the php file. ....but I am willing to try anything to resolve this!
4020304.php
ASKER
Thanks David! I have been looking and if I use run the program on firefox or chrome on a pc, then acrobat opens the file. If on an ipad - the SOP program will be carried by safety supervisors on an ipad - it is 'inline'. So sounds like an ipad 'thing' rather than anything else. Am investigating but thanks for your prompt reply!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Just download one of your .pdf files using curl or wget, to see if a copy viewed locally actually contains data you expect.
If you get stumped, provide a clickable link to one of your .pdf files + likely someone can help you debug your process.