Page 1 of 1

Login through HTTPS only!

Posted: Thu 17. Feb 2005, 17:33
by Goran
Open login.php and add this code right after Copyright notice text, before if (ini_get.......:

Code: Select all

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