Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>MD5 password generator</title>
- </head>
- <body>
- <h2>MD5 password generator</h2>
- <?php
- if($_POST['pw'])
- {
- echo '<table><tr><th>Password</th><th>MD5</th></tr>';
- $e = explode("\n", $_POST['pw']);
- foreach ($e as $a)
- echo "<tr><td>".$a."</td><td>".md5($a)."</td></tr>\n";
- echo '</table>';
- }
- ?>
- <p>
- <form name="pw" method="post">
- Enter passwords to get MD5 for each:<br>
- <textarea type="text" name="pw">password</textarea>
- <input type="submit" value="Submit">
- </form>
- </body>
- </html>
Add Comment
Please, Sign In to add comment