session_start(); include "config.php"; if (($_POST['user']==$a_user) && ($_POST['pass']==$a_pass)) { $_SESSION['a_user'] = $a_user; $_SESSION['a_pass'] = $a_pass; header ( "Location: index2.php" ); die(); } ?>