File: 0.00.0a/web/login.php (View as Code)

1: 2: ob_start(); 3: require("include.php"); 4: $NATS->Start(); 5: 6: if ($NATS_Session->Create($NATS->DB,$_REQUEST['naun'],$_REQUEST['napw'])) 7: { 8: header("Location: main.php"); 9: exit(); 10: } 11: 12: header("Location: ./?login_msg=Login+Failed"); 13: exit(); 14: ?>