Ok so for my register.php page I want to use https however the code that I am using makes my whole site use https how do I make it so only my register page uses https?
Code I'm using:
if(!isset($_SERVER['HTTPS'])) { header("location: https://" . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']);