Tag Archives: SSL

How to redirect browser to https (ssl) in php

How to redirect browser to https (ssl) in php




Most of the e-commerce website uses payment gateway for online payment. And, those sites uses SSL (secure socket layer) connection to transfer data to and from the payment gateway. In the common scenario, most of the sites uses “http” protocol and you can see “http” in the browser’s address bar. But in the above scenario,we need to redirect the browser to “https” which means that “Hypertext Transfer Protocol over Secure Socket Layer”. Ok let’s see a real example, type “http://www.gmail.com” […]