Home  >  Article  >  Backend Development  >  PHP 网页加载word文档,实现修改

PHP 网页加载word文档,实现修改

WBOY
WBOYOriginal
2016-06-06 20:52:141360browse

最近一个项目需要,我需要用php在网页中实现加载word文档,并且可以进行修改保存打印。

请高手给思路,实现方法,有案例更好,谢谢。

回复内容:

最近一个项目需要,我需要用php在网页中实现加载word文档,并且可以进行修改保存打印。

请高手给思路,实现方法,有案例更好,谢谢。

有两个思路:
1.自己按照微软给的word文档的格式(记忆中前几年发布的)写读写的程序。
2.找一个第三方的api,能转word格式的那种,最好是rest的api,之后写程序就行了

php找一个读写word的库。多的很。自己百度。你还要什么思路?就这么简单而已啊。

Statement:
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