Word documents are rich-text documents that allow you to create newsletters, contracts and other customer communication. You can display these Word documents in the user’s browser using the PHP programming language. The PHP programming language provides developers with a free resource to create dynamic webpages. You can create dynamic content by displaying a Word document for the web reader. $app= new COM(“Word.Application”); $file = “/worddoc.doc”; $app->visible = true; $app->Documents->Open($file); $app->ActiveDocument->PrintOut(); $app->ActiveDocument->Close(); $app->Quit(); Writer Bio
