PHP – For secure HTTP connection
This trick force for a secure HTTP connection
if (!($HTTPS == “on”)) {
header (”Location: https://$SERVER_NAME$php_SELF”);
exit;
}
PHP – For secure HTTP connectionThis trick force for a secure HTTP connection if (!($HTTPS == “on”)) {
header (”Location: https://$SERVER_NAME$php_SELF”);
exit;
}
|