Call ActiveX component

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there

I'm trying to call an ActiveX object from PHP. The code in ASP looks as follows:

Set DelphiASPObj = Server.CreateObject("ClientBalance.coClientBalance")
DelphiASPObj.GetClientBalance (Trim(Session("Outlet")) & "E") , Trim(Application("FinURL")), ReturnBalance


I tried this in PHP:

$DelphiASPObj = COM("ClientBalance.coClientBalance"); // Line 281

$ReturnBalance=$DelphiASPObj->GetClientBalance(trim($Outlet_session)."E"),trim($Application["FinURL"]));

But I get the following error message:

*Parse error*: parse error in *C:\Program Files\Apache Group\Apache2\htdocs\spar\admin\rpt_electrans.php* on line *281

Any ideas?

Cheers
Louis
*

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux