|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-05-22 10:38 UTC] pajoye@php.net
[2008-05-22 10:54 UTC] sthulbourn@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 07:00:01 2025 UTC |
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