Home  >  Article  >  Backend Development  >  How to convert word files uploaded by users into html files in PHP under linux environment

How to convert word files uploaded by users into html files in PHP under linux environment

WBOY
WBOYOriginal
2016-12-01 00:56:341453browse

Please solve this problem. I haven’t seen it in Baidu for a long time but only use com to operate under window. com cannot be used under linux. Please help me.

Reply content:

Please solve this problem. I haven’t seen it in Baidu for a long time but only use com to operate under window. com cannot be used under linux. Please help me.

php can use PHPWord to read word files. Once the content is obtained, it is easy to generate an html file. You should be stuck on how to read it earlier. You can refer to the ready-made examples under samples in the warehouse.

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