Is it possible to manipulate a MS Word document with PHP, ie: do a "Find & Replace"? I know PHP itself can't do this but is there a PDFLIB for MSWORD kinda thing around?
If you are running PHP on Win32 and that machine has Word installed on it, you should be able to invoke Word functions through the use of COM objects. I have no idea how to do this, though -- you might ask in one of the Win32 fora.
If you are on a non-Win32 OS, there are some libraries which attempt to manipulate Word documents, but I do not know how well they work. WVware is one:
. This would entail invoking the library functions as external apps from PHP, though.
There is also a PHP class to manipulate RTF documents published by a Russian programmer. I don't remember the product, but it is for-pay. Want the best answers? Ask the best questions:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.