PHP怎么读取WORD表格里的数据

WBOY
Release: 2016-06-13 13:36:45
Original
1461 people have browsed it

PHP如何读取WORD表格里的数据
请问PHP如何读取WORD表格里的数据,请给个代码

------解决方案--------------------
推荐PHPword
------解决方案--------------------
一般,有2种方法可以导出doc文档,一种是使用com,并且作为php的一个扩展库安装到服务器上,然后创建一个com,调用它的方法。安装过office的服务器可以调用一个叫word.application的com,可以生成word文档,不过这种方式我不推荐,因为执行效率比较低(我测试了一下,在执行代码的时候,服务器会真的去打开一个word客户端)。理想的com应该是没有界面的,在后台进行数据转换,这样效果会比较好,但是这些扩展一般需要收费。
详细内容请参考:php新手入门网
http://www.phpnewer.com/index.php/Cjwt/detail/id/156

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!