Home > Backend Development > PHP Tutorial > PHP直接读取PDF资料

PHP直接读取PDF资料

WBOY
Release: 2016-06-13 12:59:14
Original
2012 people have browsed it

PHP直接读取PDF文件
有没有直接写的类库函数等【不需要服务器另外配置的】可以直接读取PDF文件的呀?
有的话,麻烦赐教!
百度半下,都是xpdf,而这个在买的虚拟服务器上是不被支持的,还有就是这这里面读取PDF是
$content = shell_exec('/usr/local/bin/pdftotext '.$filename.' -'); 
而shell_exec命令一般都是被禁止的

因此,谁有好的读取PDF格式的方法,请指导!
------解决方案--------------------
有个名为 FPDI 的php类,你可以试一下 
------解决方案--------------------
PDFlib Lite或者FODF

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template