<commit_before><?php

//
//constant('HOST')=$_SESSION['DBHOST'];
include_once '../../TPSBIN/db_connect.php';
include_once '../../TPSBIN/functions.php';

//need to set DB Values before this page.
 
sec_session_start(); // Our custom secure way of starting a PHP session.
 
if (isset($_POST['email'], $_POST['p'])) {
    $email = $_POST['email'];//filter_input(INPUT_POST,'email');
    $password = $_POST['p'];//filter_input(INPUT_POST, 'p');// The hashed password.
 
    if (login($email, $password, $mysqli) == true) {
        // Login success 
        header('Location: ../../masterpage.php');
    } else {
        // Login failed 
        header('Location: Login.php?error=Invalid Login');
        //echo $email." ".$password;<commit_msg>Update process_login.php<commit_after><?php

//
//constant('HOST')=$_SESSION['DBHOST'];
include_once 'db_auth_connect.php';
include_once '../../TPSBIN/db_connect.php';
include_once '../../TPSBIN/functions.php';

//need to set DB Values before this page.
 
sec_session_start(); // Our custom secure way of starting a PHP session.
 
if (isset($_POST['email'], $_POST['p'])) {
    $email = $_POST['email'];//filter_input(INPUT_POST,'email');
    $password = $_POST['p'];//filter_input(INPUT_POST, 'p');// The hashed password.
 
    if (login($email, $password, $mysqli) == true) {
        // Login success 
        header('Location: ../../masterpage.php');
    } else {
        // Login failed 
        header('Location: Login.php?error=Invalid Login');
        //echo $email." ".$password;
{'fraction_non_alphanumeric': 0.20104780615586115, 'fraction_numerical': 0.0, 'mean_word_length': 3.2209944751381214, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5201250', 'n_tokens_mistral': 479, 'n_tokens_neox': 467, 'n_words': 108}