[eluser]Colin Williams[/eluser]
You know, most merchants (including Authorize.net) already provide tried and true PHP code for interacting with the gateway API. Usually it's just a PHP Class (meaning instant CI library), so why reinvent the wheel? Typically all one needs to do is custom-write the cart/order processing stuff