Guest User

Untitled

a guest
May 18th, 2016
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. <?php
  2. if(isset($_POST)['submit'])) {
  3.  
  4. $username = $_POST['username'];
  5. $password = $_POST['password'];
  6.  
  7. echo "Hello " . $username;
  8. echo "Your password is " . $password;
  9.  
  10. }
  11.  
  12. ?>
  13.  
  14.  
  15.  
  16.  
  17. <!DOCTYPE html>
  18. <html lang="en">
  19. <head>
  20. <meta charset="UTF-8">
  21. <title>thosewhodares.com</title>
  22. </head>
  23. <body>
  24.  
  25. <form action="form.php" method="post">
  26.  
  27. <input type="text" name="username" placehold="Enter Username"> <br>
  28. <input type="password" name="password" placehold="Enter Password"> <br>
  29. <input type="submit" name="submit">
  30.  
  31.  
  32. </form>
  33.  
  34. </body>
  35.  
  36. </html>
Add Comment
Please, Sign In to add comment