I have been wondering how I can edit Doc or Docx files in PHP or would it be easier to convert to a different format what would I use and how. I already know that Doc files are Binary and docx are zip and XML docs etc.
I have already tried this and a fiew others that I cannot remember and it just downloaded (something I don't want to do) the docx file.
What should I use?
What libary works with what editor?
Thanks!
Well generally it is a bad idea to try to edit binary files by yourself.
Why not try any library implementing Word file editing?
e.g. check out https://github.com/PHPOffice/PHPWord