Force SSL for a php page

Another quick code post, this function when run will redirect the current page to the https equivalent (if it isn’t already):

Leave a Reply