COM and PHP.ini
| From: | Steve Vernon | Date: | Fri, 07 Nov 2003 14:28:31 +0000 |
| Subject: | COM and PHP.ini | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-168847@lists.php.net to get a copy of this message | ||
(PHP 4.3.0, Windows XP Pro, Office 2000 Pro)
Hello,
Just playing around with COM, and I got the error below.
Searching on google it mentions something about a DLL error.
Iv'e enabled dcom in php.ini.
What have I missed!
Line 2 says $excel = new COM("Excel.Application") or die("Excel could not be
started");
THANK!
Warning: (null)(): Unable to obtain IDispatch interface for CLSID
{00024500-0000-0000-C000-000000000046}: Server execution failed in
c:\websites\excel.php on line 2
Fatal error: Maximum execution time of 30 seconds exceeded in
c:\websites\excel.php on line 2