Simple PHP Password Generator
This is a simple password generator written in PHP. Using MD5 random hexadecimals this is will produce strong password, and we also can define how length the password character.
<?php
// using md5 random
// $length = 8 can be change, its length of password character
function md5_pass($length = 8)
{
return substr(md5(rand().rand()), 0, $length);
}
?>
<b>Your Random Password:</b><br />
<?php
echo md5_pass();
?>
<br />
<form method="post">
<input type="button" value="Generated"
onclick="window.location.reload()">
</form>
Download Source
See in action:
http://kecoa.net/generators/password
Related posts:
Tweet This




