1 2 3 4 5 6 7 8 9 10 11
<?php require_once "inc/configure.php"; if( $logged == 1){ header('Location: main.php'); exit;}else{ header('Location: loginform.php'); exit; }?>