File: 0.02.13a/server/web/login.php (View as HTML)

  1: <?php
  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: ?>