Advertisement
Guest User

Untitled

a guest
Aug 19th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. <?php
  2.  
  3. if(isset($_SESSION['username'])) {
  4. echo"Welcome ".$_SESSION['username'];
  5. } else {
  6. echo"<div class=\"textLeft\"> Please login to continue.. <br>
  7. </div>";
  8.  
  9. echo"<form action\"./inc/login.php\ method\"POST\">";
  10.  
  11. echo"Username: <input type\"text\" name\"username\">";
  12.  
  13. echo"Password: <input type\"password\" name=\"password\">";
  14.  
  15. echo"<input type=\"submit\"> </form>";
  16. }
  17.  
  18. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement