Can I convert between .doc and .docx only with PHP?

I have a search on SO, but all the messages related to the problem seem to require installing software on the server (for example, Zend framework or PHPdocx), which I can not do.

I need to be able to read and update text in templates from .doc files. I can achieve this with PHPWord, but it only works with .docx. I contacted the PHPword developer about the problem, but .doc support is very unlikely.

If there was a way to achieve this with PHP, it would be fantastic. Perhaps there is an Internet application with an API that I could use to convert my files using PHP (Google Docs?), But none of them were found.

The Google Docs API might help, but I have no idea how this is used.

+5
source share
1 answer

I decided to just support .docx, and if I can find some way to convert to .doc, I will include this (but I haven't found a way yet)

0
source

All Articles