Compzone.Org :: Podręcznik PHP :: com_load
Pytania w drugiej edycji Testu PHP powinny być:
Trudniejsze
Łatwiejsze
Skomplikowane
Na myślenie
Do liczenia
Sonda Wyniki

Add to Google

com_load

(PHP 4)

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.

Przykład 1. Don't use com_load(), use OO syntax instead

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

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

Copyright © 2005-2006 Compzone.Org. Kopiowanie i wykorzystywanie materiałów zawartych na tej stronie bez zgody autora zabronione!