Based on comments, I've made a very small modification, which makes using the PHP class easier when the TPP protocol is required (for email and web certs).
Simply initiate your class like so: $O = new openSRS('LIVE'); $O->setProtocol('TPP'); ... and presto, you are set to go! If you are only using OpenSRS for domains, then you don't really need this upgrade. - Colin