Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- if(isset($_SESSION['email'])) {
- echo '<script>window.location.replace("./index.php");</script>';
- } else {
- ?>
- <center><h1>Form login tanpa database</h1>
- <form action="./ceklogin.php" method="post">
- <input type="email" name="email" placeholder="Email" alt="email" required="required"/><br/>
- <input type="password" name="password" placeholder="Password" alt="password" required="required"/><br/><br/>
- <input type="submit" name="submit" value="Submit" alt="submit"/>
- </form><br/>
- <h4>Ini Halaman Login</h4>
- </center>
- <?php } ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement