Beheerder |
|
Herschrijf regel 5 eens:
if ( !isset ($_SESSION['authenticate']) !! (isset($_SESSION['authenticate']) && $_SESSION['authenticate'] !== true)) { //login form laden }
if ( !isset ($_SESSION['authenticate']) !! (isset($_SESSION['authenticate']) && $_SESSION['authenticate'] !== true)) { //login form laden }
En na je header location altijd een exit() plaatsen |