Hi
Server : Windows 2003 IIS6.0 with PHP 5.0.3 support.
This is working on my PC but on the server it gives an error msg.
<?php
// ini_set("com.allow_dcom","true");
$word = new COM("word.application") or die("Unable to instanciate Word");
echo "Loaded Word, version {$word->Version}\n";
?>
Fatal error: Uncaught exception 'com_exception' with message 'Failed to create COM object `word.application': Invalid syntax ' in xxx\test.php:3 Stack trace: #0 xxx\test.php(3): com->com('word.applicatio...') #1 {main} thrown in xxx\test.php on line 3
Any idea on how to resolve this ?
Thanks