Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Learn PHP
Last updated: Tue, 19 Sep 2006


(PHP 4)

com_load --  Creates a new reference to a COM component [deprecated]


resource com_load ( string module_name [, string server_name [, int codepage]] )

Equivalent to using the new operator to create an instance of the COM class. You should do that instead of calling this function.

Example 1. Don't use com_load(), use OO syntax instead

// do this
$obj = new COM($module);
// instead of this:
$obj = com_load($module);

Note: This function does not exist in PHP 5; use the COM class instead.

Last updated: Tue, 19 Sep 2006