I'm gonna start using it on every site I sign up on since browsers save passwords and it's easy to get new ones. Better than using the same password for every site like some people do
Some people may find this useful.
Code: Select all
function genPass()
{
$chars = array_merge(
range('A', 'Z'),
range('a', 'z'),
range(0, 9),
array(
'!', '@', '#', '$', '%', '^', '*', '(', ')', '-', '_', '+', '-', '/', '\'', ';', ',', '<', '>', '"', '~', '`', '?'
)
);
shuffle($chars);
return substr(implode($chars), 0, mt_rand(10, 16));
}Code: Select all
I4x@m~P-09z<
,l9n'oF$q2
Bgsvnd(LJm*K/
Rt"h)KOE8W>g!
THOEd^>~@U
Py$+U4~dZ2aQLD
Dm'V$sUGw9C
r-83sUm^2kyp
lyD4U7rv(BXx
*mk7U~0sqy)