Professional Documents
Culture Documents
Login
Login
php
session_start();
?>
<html>
<head>
<title>Login</title>
</head>
<body>
</body>
</html>
<?php
include("Database.php");
if(isset($_POST['login']))
{
$user_email=$_POST['email'];
$user_pass=$_POST['password'];
$run=mysqli_query($dbcon,$check_user);
if(mysqli_num_rows($run))
{
echo "<script>window.open('Welcome.php','_self')</script>";
$_SESSION['email']=$user_email;
}
else
{
echo "<script>alert('You Are Not Registered User! Please first Register at
Registration.php')</script>";
}
}
?>