StevenW721 on 07/09/10
Last Edited at 07/09/10 01:22am
function forceSSL (){ // force SSL usage and use of WWW if (($_SERVER["SERVER_PORT"] != 443)) { header("Location: " . "https://" . $_SERVER["SERVER_NAME"] . $_SERVER["REQUEST_URI"]); exit(); }}
Report this snippet Tweet
Comment:
You need to login to post a comment.