Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 3.144.242.20
<?php
ob_start();
session_start(); //start session so we can login
require('includes/dbconnect.php');//include database connection
require('includes/functions.php'); //include functions
$user = $_SESSION['empCode'];
$pass = $_SESSION['password'];
$empName = $_SESSION['empName'];
$_SESSION['privId'] = $privId;
$checkLoginStatus = checkLoginDetails($user, $pass, $empName, $con);
echo $checkLoginStatus;
?>
|