Code: Select all
if($_SERVER['HTTPS']=='on'); else {header ('Location: https://'.$_SERVER['HTTP_HOST'].$_SERVER['REQ EST_URI']);}
Code: Select all
if($_SERVER['HTTPS']=='on'); else {header ('Location: https://'.$_SERVER['HTTP_HOST'].$_SERVER['REQ EST_URI']);}