ID: 45064
Updated by: [EMAIL PROTECTED]
Reported By: maniviswa at gmail dot com
Status: Bogus
Bug Type: Compile Warning
Operating System: Ubuntu
PHP Version: 5.2.6
New Comment:
Well, the problem is, you're trying to open MICROSOFT WORD in Linux
using a Windows only extension.
A quick fix: Install windows.
Previous Comments:
------------------------------------------------------------------------
[2008-05-22 10:38:00] [EMAIL PROTECTED]
COM is windows only, see the manual for further info.
------------------------------------------------------------------------
[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