RE: [PHP-WIN] Call ActiveX component

From: Date: Sat, 15 Jan 2005 21:57:25 +0000
Subject: RE: [PHP-WIN] Call ActiveX component
Groups: php.windows 
Request: Send a blank email to php-windows+get-25342@lists.php.net to get a copy of this message
The comma before the second trim is misplaced....by chance, do you mean this instead: $ReturnBalance=$DelphiASPObj->GetClientBalance(trim($Outlet_session)."E", trim($Application["FinURL"])); -----Original Message----- From: Louis Young [mailto:louis@kwikpay.co.za] Sent: Friday, January 14, 2005 6:15 AM To: php-windows@lists.php.net; php-gurus@yahoogroups.com Subject: [PHP-WIN] Call ActiveX component 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"),tr im($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

« previous php.windows (#25342) next »