COM timeout
Posted by: Israel (---.inter.net.il)
Date: June 05, 2007 06:44PM

Hi everyone,

I installed the WAMP5 version but I'm getting the following error running my scripts.

I am trying to launch MSWORD through the com of php, running the following line:

$wordTable = new COM("word.application"winking smiley or die("Unable to instanciate Word"winking smiley;

but the page is loading (seems he does nothing), until the server times out.

Could anybody help me with it.

Thanks


Options: ReplyQuote
Re: COM timeout
Posted by: CyberSpatium (71.237.217.---)
Date: June 05, 2007 11:56PM

make sure you have the MS .net runtime installed.you will also need to make sure install the com object to run word, because php does not come with it.

PHP.net:
"You are responsible for installing support for the various COM objects that you intend to use (such as MS Word); we don't and can't bundle all of those with PHP."


CyberSpatium
----------------------
WAMP English Forum Admin

Need help? Check out my WAMP User Manual/Guide here!


Cellular Phone Deals - The Best on the Net! - FREE PHONES! Take your pick from our featured cellular phone deals by Cingular, Verizon, T-Mobile, Sprint PCS, Nextel, and more! Most of our cellular phone offers include a FREE cellular phone with FREE shipping!


Web Development for Newbie's Blog - Check out my new blog. It is for web developers, and especially tailored for the web development newbie. If you are not fluent in “geek speak”, then this incredible resource is just you. And even if you are a web development pro, this is a great resource to check out some of the latest web development tips, news, tutorials, codes and more.

Options: ReplyQuote


Sorry, only registered users may post in this forum.