Advertisement
Guest User

Untitled

a guest
Mar 9th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. <html>
  2. <head>
  3. <title>Forms</title>
  4. </head>
  5. <body>
  6. <form name="deluxe" action="" method="get">
  7. Password: <input type="text" name="pass" />
  8. <input type="submit" value="Submit" />
  9. </form>
  10. <?php
  11. if(isset($_POST['submit'])) {
  12. $username = $_POST['username']; // the input name "username"
  13. $password = $_POST['pass']; // the input name "pass"
  14. echo "Your Password is:".$password." and your username is:".$username;
  15. }
  16. ?>
  17. </body>
  18. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement