Adjusting redirect method
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
if (isset($_POST['Submit'])){
|
||||
$_SESSION['loginData'] = $_POST;
|
||||
header("Location: /loginCheck.php");
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -21,7 +22,7 @@
|
||||
</style>
|
||||
<div class="message"><?php if($_SESSION["loginError"]!="") { echo $_SESSION["loginError"]; } ?></div>
|
||||
<h2><font color="white">Please Login</h2>
|
||||
<form action="loginCheck.php" method="post">
|
||||
<form action="" method="post">
|
||||
User:
|
||||
<input type="text" name="username" placeholder="Username"><br>
|
||||
Password:
|
||||
|
||||
Reference in New Issue
Block a user