For a recent project, I need to use php to load Word documents on the webpage, and can modify and save and print them. Please give your ideas and implementation methods. It is better if you have any cases. Thank you. For a recent project, I need to use php to load Word documents on the webpage, and can modify and save and print them.
Please give your ideas and implementation methods. It is better if you have any cases. Thank you.
Reply content:
For a recent project, I need to use php to load Word documents on the webpage, and can modify and save and print them.
Please give your ideas and implementation methods. It is better if you have any cases. Thank you.
There are two ideas:
1. Write and read the program in the format given by Microsoft (stored in memory of a program released several years ago.
2. Find a third-party api that can be converted to the word format, preferably the rest api, and then write the program.
Php finds a library for reading and writing word. A lot. Baidu. What do you need? That's simple.