如何在PHP中将PDF文件转换为HTML? [英] How do I convert a PDF file to HTML in PHP?

查看:124
本文介绍了如何在PHP中将PDF文件转换为HTML?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在PHP中将PDF文件转换为HTML?是否有任何lib或Web服务?我的意思是免费,谢谢!

How do I convert a PDF file to HTML in PHP? Is there any lib or web service? I mean free, thanks!

推荐答案

Google pdf2html, pdftohtml 看起来成为唯一可行的.它基于命令行程序,而不是PHP.因此对您可能没有用. Google能够进行转换,因此也许也可以使用GDocs进行转换.尽管我不确定.无论如何,我希望这至少可以使您走上正确的道路.

Google pdf2html, pdftohtml looks to be the only viable one. and it's based on a command line program, not PHP. so it may not be useful to you. Google is capable of converting, so there may be a way to do it with GDocs as well. though I'm not sure of that. At any rate, I hope this gets you on the proper path at least.

这篇关于如何在PHP中将PDF文件转换为HTML?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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