Check for SSL
Posted: Tue Jun 03, 2008 11:13 am
I have a register page, an administration page, and an update profile page, where credit cards are dealt with. And I don't want that kind of information to be flowing freely on my website, with the possibility of it being intercepted by 3rd parties.
I am using $_SERVER['HTTPS'] which, on the PHP Manual, is said to not be empty in case the request was made using HTTPS.
I am just wondering, is there a better way to do this?
I am using $_SERVER['HTTPS'] which, on the PHP Manual, is said to not be empty in case the request was made using HTTPS.
I am just wondering, is there a better way to do this?