开发者

Is it possible to access a COM Object from Linux

Office is running in Wine, meaning I have a running Version (2003).

Bu开发者_JAVA百科t when I try to create a new COM object I just get the following error:

Fatal error: Class 'COM' not found

<?php
$com = new COM('Word.Application');
$com->close();

Is there a way to get this working without installing Windows?


You have to run PHP under Wine as well, or have some sort of program running under Wine that can act as a proxy.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜