PageRenderTime 57ms CodeModel.GetById 12ms RepoModel.GetById 1ms app.codeStats 0ms

/php/EDL-dead/md5.php

http://braddoro.googlecode.com/
PHP | 16 lines | 16 code | 0 blank | 0 comment | 2 complexity | f4a52f8036729039a4319d3af59d6e59 MD5 | raw file
  1. <html>
  2. <head>
  3. <title></title>
  4. </head>
  5. <body>
  6. <?php
  7. if (isset($_POST["field"])) {
  8. echo "<b>md5+sha1+salted:</b> ".md5($_POST["field"]."salt").sha1($_POST["field"]."salt")."<br>";
  9. }
  10. ?>
  11. <form action="md5.php" method="post" name="foo" id="foo">
  12. <input type="text" name="field" id="field" value="<?php if (isset($_POST["field"])) {echo $_POST["field"];} ?>">
  13. <input type="submit" name="Submit" id="Submit" value="Submit">
  14. </form>
  15. </body>
  16. </html>