PDF Viewer for my web - PHP [closed]

拈花ヽ惹草 提交于 2019-12-06 04:20:54

问题


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)

  1. http://embedit.in/
  2. http://www.vuzit.com/
  3. http://www.ajaxdocumentviewer.com/
  4. http://flexpaper.devaldi.com
  5. http://www.icepdf.org/
  6. https://docs.google.com/viewer
  7. http://www.snowbound.com/
  8. http://www.mygazines.com
  9. http://www.issuu.com/business
  10. http://www.box.net
  11. 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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!