问题
I am searching for an opensource pdf viewer for my web-site
Searched for months and months. Is there any open source to view pdf in my web (without Flash).
On the other hand, the documents should be secure.
I have done a synopsis with the following urls (but no use)
- http://embedit.in/
- http://www.vuzit.com/
- http://www.ajaxdocumentviewer.com/
- http://flexpaper.devaldi.com
- http://www.icepdf.org/
- https://docs.google.com/viewer
- http://www.snowbound.com/
- http://www.mygazines.com
- http://www.issuu.com/business
- http://www.box.net
- http://viewer.zoho.com/
I want both download and print option for my pdf viewer.
回答1:
https://github.com/mozilla/pdf.js
回答2:
Maybe its already answered @ How to make PDF viewer in PHP
Additionally, you may also want to check PDF Functions - php.net
回答3:
1) Download zip file from:
https://github.com/mozilla/pdf.js/archive/master.zip and unzip to http://yourhost/myfolder
(or wherever you have hosted it)..
2) After extraction, in myfolder/web folder, open viewer.js and change DEFAULT_URL to your example.pdf path.
3) open in your browser http://yourhost/myfolder/web/viewer.html
来源:https://stackoverflow.com/questions/4894554/pdf-viewer-for-my-web-php