PHP 生成随机密码
function get_password($length = 8)
{
$str = substr(md5(time().ALL_PS), 0, 6);
return $str;
}
echo get_password(6);function get_password($length = 8)
{
$str = substr(md5(time().ALL_PS), 0, 6);
return $str;
}
echo get_password(6);