Advertisement
Guest User

hulot

a guest
Feb 19th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. <html>
  2. <head>
  3. </head>
  4. <body>
  5. <form name="x" action="formulaire2.html" method="post">
  6.  
  7. <?php
  8. switch($_POST['mdp']){
  9. case "mot":
  10. echo"GG WP<br>";
  11. break;
  12. default:
  13. echo"Désolé M.".$_POST[nom]." le mot de passe est faux<br>";
  14. break;
  15. }
  16. ?>
  17. </form>
  18. <form name="x" action="formulaire2.html" method="post">
  19. <input type="submit" value="Retour">
  20. </body>
  21. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement