Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 

 

com_load

(PHP 3>= 3.0.3)

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

Description

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.

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

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

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

 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "PHP Manualen". See Index Page for more info about Authorship and Copyright.

1999-2009 Linuxinfor.com. No rights reserved.