ID:               25055
 Updated by:       [EMAIL PROTECTED]
 Reported By:      bart at mediawave dot nl
-Status:           Open
+Status:           Bogus
 Bug Type:         COM related
 Operating System: Windows 2000
 PHP Version:      5.0.0b1 (beta1)
 New Comment:

There is no COM extension in PHP 5 (yet). So you can't really report
any bugs about it either. Use PHP 4.



Previous Comments:
------------------------------------------------------------------------

[2003-08-13 07:33:36] bart at mediawave dot nl

I've searched for hours and hours but didn't find anything anywhere!
I've re-installed PHP5 to try and get to the bottom of this. But:

<?
$word = new COM("word.application") or die ('Unable to instanciate
Word');
?>

keeps producing:

Fatal error: Class 'com' not found in E:\****\****.php on line xx

The exact same code on the exact same machine works perfectly with PHP
4.3.2 installed.

Does this mean that there's a new syntax to load a COM object? I tried
all sorts of things but nothing works.

------------------------------------------------------------------------

[2003-08-12 09:09:31] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

.

------------------------------------------------------------------------

[2003-08-12 09:04:56] bart at mediawave dot nl

Description:
------------
I got an error while trying to open Word through the COM class
functions. I get an error like: "class com not found".

Reproduce code:
---------------
$word = new COM("word.application") or die ('Unable to instanciate
Word');

Expected result:
----------------
Loading Word object into $word

Actual result:
--------------
class com not found

(I don't know the exact error message because I already installed PHP
4.3.2 to make it work)


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=25055&edit=1

Reply via email to