Re: Com

From: Date: Wed, 07 Feb 2001 10:52:24 +0000
Subject: Re: Com
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-38521@lists.php.net to get a copy of this message
COM of course comes with PHP (but is available on Win only), RTFM on calling COM support... Pavel ----- Original Message ----- From: "Christian Reiniger" <creinig@mayn.de> To: "php" <php-general@lists.php.net> 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: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#38521) next »