How to Force Clients to Use HTTPS by PHP
PHP provides a global variable $_SERVER['HTTPS'] that can be checked whether the clients are connecting over SSL or not. For example: <?php if (!isset($_SERVER['HTTPS']) ||… Read More »How to Force Clients to Use HTTPS by PHP