Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS Word manipulation

Status
Not open for further replies.

DeepBlerg

Technical User
Jan 13, 2001
224
AU
Ok, here's a tricky one...

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?

Rgrds.
 
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: TANSTAAFL!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top