Advertisement
Guest User

login.php

a guest
Apr 7th, 2014
379
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.43 KB | None | 0 0
  1. <?php
  2. include 'connect.php';
  3.  
  4. if(isset($_GET['redirectedFromRegister'])==1) {
  5.     echo 'Thank you for registering, you may now login';
  6. } else {
  7.     echo '<h1>LOGIN</h1>';
  8. }
  9. ?>
  10.  
  11. <html>
  12.     <body>
  13.         <form action="index.php" method="post">
  14.            
  15.             Username: <input type="text" name="username"/><br/>
  16.             Password: <input type="password" name="password"/><br/>
  17.            
  18.             <input type="submit" value="LOGIN"/>
  19.         </form>
  20.     </body>
  21. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement