index.php 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <head>
  4. <meta content="text/html; charset=UTF-8" http-equiv="content-type">
  5. <title>G&eacute;n&eacute;rateur de mot de passe</title>
  6. </head>
  7. <body>
  8. <h1 style="text-align: center;">G&eacute;n&eacute;rateur
  9. de mot de passe</h1>
  10. <br>
  11. <div style="text-align: center;">
  12. </div>
  13. <div style="text-align: center;"><?php $minuscule = array('alpha', 'bravo', 'charlie', 'delta', 'echo', 'foxtrot', 'golf', 'hotel', 'india', 'juliette', 'kilo', 'lima', 'november', 'oscar', 'papa', 'quebec', 'romeo', 'sierra', 'tango', 'uniform', 'victor', 'whisky', 'yankee', 'zulu');
  14. $majuscule = array('ALPHA', 'BRAVO', 'CHARLIE', 'DELTA', 'ECHO', 'FOXTROT', 'GOLF', 'HOTEL', 'INDIA', 'JULIETTE', 'KILO', 'LIMA', 'NOVEMBER', 'OSCAR', 'PAPA', 'QUEBEC', 'ROMEO', 'SIERRA', 'TANGO', 'UNIFORM', 'VICTOR', 'WHISKY', 'YANKEE', 'ZULU');
  15. $special = array('@', '+', '-', '&');
  16. echo $minuscule[array_rand($minuscule)];
  17. echo $majuscule[array_rand($majuscule)];
  18. echo $special[array_rand($special)];
  19. echo(rand(1,99));?><br>
  20. </div>
  21. <div style="text-align: center;"></div>
  22. </body>
  23. </html>