There is no "syntax error" it works for me.
$word = new COM("word.application") or die("Unable to instantiate Word");
It's maybe a "configuration error".
I have PHP 4.0.5-dev, Apache 1.3.17 and Windows 98 SE
Yoann
----- Original Message -----
From: "Patrice Mora" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 12, 2001 10:10 PM
Subject: [PHP-WIN] COM error
> I have PHP4, Windows 98 and apache , when i try to use something like This
>
> $word=new COM("word.application") or die("Cannot start word for you");
>
> I have the "COM is not a class" message
>
> Where is the "syntax error" ?
>
> Is there something to put in the php.ini or in the apache configuration
> files ?? to activate DCOM
>
>
> Thank youy for your help
>
> [EMAIL PROTECTED]
>
>
>
>
>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]