/home/techb158/immovalet.ca/report/includes
NameSizeModeActions
db_connect.php78240666editdlrm
db_connects.php2920666editdlrm
forgetpassword.php41050666editdlrm
functions.php171790666editdlrm
functions1.php122470666editdlrm
logout.php7220666editdlrm
process_login.php22030666editdlrm
psl-config.php21960666editdlrm
psl-config 1.php21070666editdlrm
psl-config3.php21070666editdlrm
psl-configs.php16740666editdlrm
register-client.php75430666editdlrm
register.inc.php33900666editdlrm
register.php272740666editdlrm
registerclient.php88590666editdlrm
requestsubmission.php235230666editdlrm
reset.php39840666editdlrm
Edit: /home/techb158/immovalet.ca/report/includes/process_login.php (2203B)
success){ // //$succMsg = 'Your contact request have submitted successfully.'; if (isset($_POST['email'], $_POST['p'])) { $email = filter_input(INPUT_POST, 'email', FILTER_SANITIZE_EMAIL); $password = $_POST['p']; // The hashed password. if (login($email, $password, $mysqli) == true) { $user_type= $_SESSION['User_type']; if($user_type == "Clients") { header("Location: ../Client/dashboard.php"); exit(); //}else if($user_type == "User") //{ //header("Location: ../User/index.php"); // exit(); //}else if($user_type == "Agent") //{ //header("Location: ../Agent/index.php"); // exit(); }else if($user_type == "Master") { header("Location: ../Master/dashboard.php"); exit(); }else if($user_type == "Admin") { header("Location: ../Admin/dashboard.php"); exit(); }else{ header('Location: ../index.php?error=2'); exit(); } } else { // Login failed header('Location: ../index.php?error=Échec de la connexion'); exit(); } }else { // The correct POST variables were not sent to this page. header('Location: ../error.php?err=Impossible de traiter la connexion'); exit(); } //}else{ // header('Location: ../index.php?err=Robot verification failed, please try again'); // exit(); //} //}else //{ // header('Location: ../index.php?err=Please click on the reCAPTCHA box.'); // exit(); //}