如何阅读PHP中的Word,Excell和PDF文档?
问题描述:
我需要能够读取PHP中许多不同文件类型的文本,包括.doc,.docx,excel和PDF文件.我在网上找到了一些需要安装多个软件包的方法,但是我想知道是否有更好的方法可以做到这一点?
I need to be able to read the text of many different file types in PHP, including .doc, .docx, excel, and PDF files. I found a few methods online that require installing multiple packages but I was wondering if there was a better way to do this?
答
无论以哪种方式摆动,都无法用一块石头杀死所有这些鸟类.
No matter which way you swing it, there is no way to kill all these birds with one stone.
Word线程:
Excel主题:
PDF主题: