Calling an object in PHP?
Posted: Tue Jul 16, 2002 12:38 pm
I have this coded in CFML but i need to port it over to a PHP platform. How can i make the same calls in PHP? Any help would be much appreciated!!!!!
<CFOBJECT ACTION="Create" Here is where we call the object.
NAME="FAC"
CLASS="FAC.cGateSecureX">
This is where we set the variables
<cfset FAC.HostName = ""> Hostname is static
<cfset FAC.PortName = ""> Portname is static
<cfset FAC.CardNumber = ""> CardNumber is Dynamic
<cfset FAC.Expiry = ""> Expiry is Dynamic
<cfset FAC.Amount = ""> Amount is Dynamic
<cfset FAC.Merchant = > Merchant is Static
<cfset FAC.Timeout = ""> Time out is static
<cfset FAC.Invoice = ""> Invoice is Dynamic
<cfset execute = FAC.authorize ()>
<CFOBJECT ACTION="Create" Here is where we call the object.
NAME="FAC"
CLASS="FAC.cGateSecureX">
This is where we set the variables
<cfset FAC.HostName = ""> Hostname is static
<cfset FAC.PortName = ""> Portname is static
<cfset FAC.CardNumber = ""> CardNumber is Dynamic
<cfset FAC.Expiry = ""> Expiry is Dynamic
<cfset FAC.Amount = ""> Amount is Dynamic
<cfset FAC.Merchant = > Merchant is Static
<cfset FAC.Timeout = ""> Time out is static
<cfset FAC.Invoice = ""> Invoice is Dynamic
<cfset execute = FAC.authorize ()>