- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
if (true) {
$res = mssql_query("SELECT CAST(_Fld204 AS TEXT) AS _Fld204 FROM [dbo].[_Reference24] WHERE _Fld203='" . $login . "' ");
$pass = mssql_fetch_array($res, MSSQL_ASSOC);
$pass = $pass["_Fld204"];
if ( strlen($pass) > 0 && $pass == $password ) {
$_SESSION["AUTH_V"] = "Y";
$_SESSION["LOGINSS"]= trim($login);
}
else {
$_SESSION["AUTH_V"] = "N";
}
}