Adjusting redirect method

This commit is contained in:
WilliamMiceli
2019-11-25 14:48:21 -05:00
parent 2e85edcfb4
commit d11570a3f6

View File

@@ -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&colon;
<input type="text" name="username" placeholder="Username"><br>
Password&colon;