require_once 'config/anti_sql.php';
require_once 'server.php';
//require_once 'connect.php';
$web = "main";
if(isset($_POST['login']))
{
$user = $_POST['user'];
$pass = $_POST['pass'];
$query = sqlsrv_query($conn,"select userid,password from account where userid='$user' AND password='$pass'",$params, $options);
$count = sqlsrv_num_rows($query);
if($count == 1)
{
echo "Login Successful";
}
else
{
echo "Incorrect Information.";
}
}
?>