| New User? Sign Up Now to order lottery ticket services | ";
$temp.=" ";
echo $temp;
} else {
$login_Name=stripslashes($login_Name);
$pwd=stripslashes($pwd);
$login_Name=ereg_replace("'","''",$login_Name);
$pwd=ereg_replace("'","''",$pwd);
$login_Name=strtoupper($login_Name);
$sql = "select * from GR_LOGIN_INFORMATION where GR_LOGIN_ID='".trim(@$login_Name)."' and GR_PASSWORD='".trim(@$pwd)."'";
//echo $sql;
$rs = OCIParse($conn, $sql);
OCIExecute($rs);
OCIFetchInto($rs, $row, OCI_ASSOC);
if($row["GR_APPLICANT_ID"] == 0) {
$temp = " Sorry login or password you have typed is incorrect.
Forgot Your Password? | Back
";
echo $temp;
//exit();
} else {
$_SESSION["userId"]=$row["GR_APPLICANT_ID"];
$_SESSION["loginid"]=$row["GR_LOGIN_ID"];
$_SESSION["fname"]=$row["GR_FIRST_NAME"];
$_SESSION["lname"]=$row["GR_LAST_NAME"];
//$userId= $_SESSION["userId"];
?>
}
}
?>
|