ID: 45064 Updated by: [EMAIL PROTECTED] Reported By: maniviswa at gmail dot com -Status: Open +Status: Bogus Bug Type: Compile Warning Operating System: Ubuntu PHP Version: 5.2.6 New Comment:
COM is windows only, see the manual for further info. Previous Comments: ------------------------------------------------------------------------ [2008-05-22 09:52:51] maniviswa at gmail dot com Description: ------------ Im using this code, <?php $comObject = new COM("Word.Application"); ?> ~ ~ But im getting error like this,what might be the problem error is Fatal error: Class 'COM' not found in /opt/lampp/htdocs/word/example.php on line 2 Reproduce code: --------------- <?php $comObject = new COM("Word.Application"); ?> ~ Expected result: ---------------- /opt/lampp/htdocs/word/example.php on line 2 Actual result: -------------- A plain Msword Document ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=45064&edit=1