URGENT! "Fatal error: COM is not a class in.."- fo

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
nattyravi
Forum Newbie
Posts: 3
Joined: Sat Dec 07, 2002 10:50 pm
Contact:

URGENT! "Fatal error: COM is not a class in.."- fo

Post by nattyravi »

anyone :oops: ,
please help me fast..

I have instantiated excel object using

$excel = new COM("Excel.application") or die("Unable to instantiate Excel!");

i am getting an error..
Fatal error: COM is not a class in C:\XXX\XXXX.php3 on line 22

what is the error??

Is it an installation error ??
or
i have to explictly define/declare a COM class in my program..

i am confused..

i am stuck from past 5 hours..
please help me..

regards,
ravi
Post Reply