Return to Snippet

Revision: 32949
at October 5, 2010 03:38 by zenco


Initial Code
function MakePassword($length)
{
srand((double)microtime()*1000000);
return substr(md5(uniqid(rand())),0,$length);
}

Initial URL

                                

Initial Description
This function is usefull and simple, specially when u create users databases

Initial Title
Function to make a Random Password

Initial Tags
php

Initial Language
PHP