make page secure

if($_SERVER['SERVER_PORT'] != '443') {
header("HTTP/1.1 301 Moved Permanently");
header('Location: https://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']); exit();
}

0 Comments

You must be logged in to post a comment.