Using the code snippet below :-
<?php
$word = new COM("Word.Application") or die("Unable to instanciate Word");
?>
Gives me the warning of :-
Warning: Invalid ProgID, GUID string, or Moniker: Invalid syntax in c:\Inetpub\wwwroot\todo2.php on line 3
Any clues ?
I have checked the available COM identifier from REGEDIT and Word.Application is valid.
Forgot to say - Using Win NT Server with Windows version of PHP 4.2.1 and IIS