SHARE
TWEET

login tanpa database

Iyanyan Oct 21st, 2019 154 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. session_start();
  3. if(isset($_SESSION['email'])) {
  4.     echo '<script>window.location.replace("./index.php");</script>';
  5. } else {
  6. ?>
  7. <center><h1>Form login tanpa database</h1>
  8. <form action="./ceklogin.php" method="post">
  9. <input type="email" name="email" placeholder="Email" alt="email" required="required"/><br/>
  10. <input type="password" name="password" placeholder="Password" alt="password" required="required"/><br/><br/>
  11. <input type="submit" name="submit" value="Submit" alt="submit"/>
  12. </form><br/>
  13. <h4>Ini Halaman Login</h4>
  14. </center>
  15. <?php } ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top