#45064 [Bgs]: Not able to open Msword in Ubuntu

From: Date: Thu, 22 May 2008 10:54:11 +0000
Subject: #45064 [Bgs]: Not able to open Msword in Ubuntu
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-125184@lists.php.net to get a copy of this message
ID: 45064 Updated by: sthulbourn@php.net 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] pajoye@php.net 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

« previous php.bugs (#125184) next »