gbot on 03/25/08
Last Edited at 03/25/08 10:40am
//force redirect to secure pageif($_SERVER['SERVER_PORT'] != '443') { header('Location: https://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']); exit();}
Report this snippet Tweet
Comment:
You need to login to post a comment.