如何使用PHP阅读PDF文件 [英] How to Read PDF File using PHP

查看:159
本文介绍了如何使用PHP阅读PDF文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们可以使用PHP阅读PDF吗?
我想通过php读取单页pdf文件。如果是的,请给我一些例子。单类文件更合适。

Can we read PDF using PHP? I want to read single page pdf file by php. If yes please give me some example. Single class file is more appropriate.

推荐答案

有多种技术可以使用PHP读取PDF。我不会在这里使用的代码,因为它是不适当的前提下,我们不知道你的确切的用例是什么。但这里有一些链接,可以帮助你。

There are a variety of techniques to read PDF using PHP. I won't be using the code in here because it is not appropriate on the premise that we don't know what is your exact use case. But here are a few links that could help you out. In no particular order,


  • FPDF:http://www.fpdf.org/

  • FPDF是PHP的PDF阅读器。

  • PDF to HTML http://pdftohtml.sourceforge.net/

  • 免费PDF文档导入器: http://www.setasign.com/products/fpdi/about/

  • FPDF: http://www.fpdf.org/
  • FPDF is a PDF reader for PHP. The one below, is more like a converter.
  • PDF TO HTML http://pdftohtml.sourceforge.net/
  • Free PDF Document Importer: http://www.setasign.com/products/fpdi/about/

这篇关于如何使用PHP阅读PDF文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆