SHARE
TWEET

Untitled

a guest Aug 12th, 2017 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <h1>Gerador de Md5</h1><br>
  2. <form method="post" action="">
  3. <input type="text" name="md5"><br>
  4. <input type="submit" value="Gerar"></form>
  5.  
  6. <?php
  7.  
  8. $gerador  =  $_POST['md5'];
  9.  
  10. $md5   =  md5($gerador);
  11.  
  12. if($md5){
  13. echo 'O valor gerado é: '.$md5;
  14. }
  15. else
  16. {
  17. echo 'Erro ao tentar gerar';
  18. }
  19.  
  20.  
  21. ?>
RAW Paste Data
Top