I want to use php to connect to authorize.net via their aim method.. I have done this using perl and the net:ssleay module to create a secure connection.. in my research for doing this w/ php i saw this: http://us3.php.net/function.fsockopen
.. there is an example of using this function for precisely what i need it for.. does anybody out there have any experience with this, and is this code pretty secure? or should I be looking in another direction, and if so, what is it?
thanks in advance!