Hello,
I am working with a new area of PHP (COM/DCOM) to develop an MS Word based reporting tool. That is, I am using Apache, PHP and MySQL for my intranet but need to begin using Word as an output tool which will be used by business users. I have it working fine on localhost but when I move the code to my server, the call to instantiate Word:
// Instantiate Word Application
$wordObj = new COM("Word.application");
opens the document on the server, not the client. How might one change this code to open Word on the client instead of the server?
Also, does anyone know of a place where all the Word constants (you know the wdAlignParagraphRight stuff) are documented?
Thank you for your help.
Chris Streeter
Bethlehem, PA, USA