survey_seahorse

Software Engineering Project - Fall 2018
Log | Files | Refs | README

login.php (578B)


      1 <?php
      2 include_once 'res/session.php';
      3 if (!empty($_GET)) {
      4     $_SESSION['login-sid'] = $_GET['sid'];
      5 }
      6 ?>
      7 <html>
      8 <link rel="stylesheet" href="res/style.css">
      9 
     10 
     11 <form class="signin-form" action="res/login-user.php" method="POST">
     12     <h2> Sign In</h2>
     13     <input type="text" name="username" placeholder="User Name">
     14     <input type="password" name="password" placeholder="Password">
     15     <button type="submit" name="submit">Sign In</button> <br>
     16     <a href = "passReset.php" >Forgot your password?</a> <br>
     17     <a href = "signup.php" >Don't have an account?</a>
     18 </form>
     19 </html>