Once you have OpenSSL running within PHP, you can connect to a secure web site using port 443, and the url format of ssl://

Below is some conceptual code, which posts two form fields (REG and...