Hi,
have found a password generator on this forom and work around it but what i need is to generate 5 characters password and sometine the script generate 4 characters password.
Can someone help me on this .... just want 5 characters password.
// Password Generator
$char = " ABCDEFGHJKLMPQRSTUVWXYZabcdefghjkmnpqrstuvwxyz23456789";
$generate = strlen($char);
for ($i=0; $i < 5; $i++)
{
$randomize = rand(0,$generate);
$password .= $char{$randomize};
}