Forcing Secure Mode Using PHP

Here is an easy way to make sure that a user is loading the current page in secure mode. Using the PHP server array we can check to see if the page is being loaded via port 443 which is the SSL port. If not then we redirect the page back to itself adding the …

Forcing Secure Mode Using PHP Read More »