COM of course comes with PHP (but is available on Win only), RTFM on calling
COM support...

Pavel

----- Original Message -----
From: "Christian Reiniger" <[EMAIL PROTECTED]>
To: "php" <[EMAIL PROTECTED]>
Sent: Wednesday, February 07, 2001 11:49 AM
Subject: Re: [PHP] Com


On Tuesday 06 February 2001 19:07, Vora Vor wrote:

> > "Fatal error: Cannot instantiate non-existent class: com in
> /var/www/html/version2/file.php on line 8" is the result of running the
> following code:
>
> <?
> $word=new COM("word.application") or die("Cannot start word");
> print "Loaded word version ($word->Version)\n";
> $word-visible =1 ;
> ?>
>
> Why?

You didn't define a class "COM".
(1) You did write such a class, right? It does not come with PHP
(2) function names are case sensitive

--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)

"Software is like sex: the best is for free" -- Linus Torvalds

--
PHP General 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 General 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]

Reply via email to