Powered by Invision Power Board

  Reply to this topicStart new topicStart Poll

> PHP 4 vs. PHP 5
Posted: Jan 14 2005, 08:50 AM
Quote Post

Group: Members
Posts: 82
Member No.: 346
Joined: 2-December 03

Anyone know if this is supported in PHP 4.x, or do I need to upgrade to PHP 5.x, or will it only work on a windows server with the windows version of PHP?

// starting microsoft word
$word = new COM("word.application") or die("Unable to instantiate Word");
echo "Loaded Word, version {$word->Version}\n";



PMEmail Poster
Posted: Jan 14 2005, 04:32 PM
Quote Post

Group: Members
Posts: 1,103
Member No.: 342
Joined: 25-November 03

Your VPS is Linux-based. COM functions are only available for the Windows version of PHP.

You can find more information about com functions and their limitations at:


Matt B.
Advantagecom Technical Support

Private messages are ignored unless solicited. If you have a support question, please email support@advantagecom.net, post in the appropriate section of the forum, or call if your service plan allows support by phone.
PMUsers Website
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll