PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Yeah.. just access your site via https instead of http and that's it - all comms to/from the browser are encrypted. It's nothing more complex than that
(Until you get into the realms of sending post data to an SSL server you're not in charge of, via cUrl, which is one hell of an experience I can tell you - having spent the past 2 days working on it!)
The code wasn't the problem, setting it all up locally on a Windows box was - it's quite an interesting process for sure, especially trying to integrate with Zend Studio and your own SSL cert (the verifypeer hack was no good for me). Add to the mix the fact that the remote SSL server had a dodgy certificate (the kind that throws up warnings in browsers) and it all got very interesting - it's actually possible to core dump PHP (and consequently Apache) on Windows just by having the wrong flags in your setopts - which lengthened the process somewhat! Still it's working great now and the XML gateway is returning all the data I need.