File manager - Edit - /home/asiatechinc/public_html/asiatechinc-websites/panchachulihouse.com/admin/system_login.php
Back
<?php include 'core/init.php'; if (empty($_GET) === false) { $username = $_GET['username']; $password = $_GET['password']; if(empty($username) === true || empty($password) === true) { unset($_SESSION['user_id']); header('Location: ./'); } else if (user_exists($mysqli, $username) === false) { unset($_SESSION['user_id']); header('Location: ./'); } else if (user_active($mysqli, $username) === false){ unset($_SESSION['user_id']); header('Location: ./'); } else{ $login = login($mysqli, $username, $password); if ($login === false) { unset($_SESSION['user_id']); header('Location: ./'); } else { $_SESSION['user_id'] = $login; header('Location: ./'); exit(); } } } ?>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings