Re: COM error
| From: | Yoann Chevalier | Date: | Wed, 14 Mar 2001 11:01:31 +0000 |
| Subject: | Re: COM error | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-6010@lists.php.net to get a copy of this message | ||
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" <patrice.mora@free.fr>
To: <php-windows@lists.php.net>
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
>
> patrice.mora@club-internet.fr
>
>
>
>
>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>