‰PNG

   IHDR         ôxÔú   sBIT|dˆ   	pHYs  Ä  Ä•+   tEXtSoftware www.inkscape.org›î<  ,àtEXtComment 
<?php
include('includes/connect.php');
include('includes/functions.php');

session_start();
//LOGIN USER
if (isset($_POST['acc_name'])) {

$login = authUser($_POST['acc_name'],$_POST['upass']);
if ($login == TRUE ){
// Set session variables
$_SESSION["username"] = $_POST['acc_name'];
//REDIRECT THE PAGE TO SUCCESS PAGE.
//header("Location: pre_load.html");
header("Location: auth.php");
}else {
header("Location: login.php?n=error");
}
}
?>



