Re: mt_rand()
| From: | David Robley | Date: | Fri, 15 Mar 2002 07:48:46 +0000 |
| Subject: | Re: mt_rand() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-88630@lists.php.net to get a copy of this message | ||
In article <5.1.0.14.0.20020314200609.00acd008@209.164.73.211>,
phillip@freewolf.net says...
> Is there a way to seed the mt_rand function with numbers and letters to
> generate a good password of say 6-10 characters?
>
> Thanks
>
> Phillip
As I understand it, mt_rand is a random _number_ generator. But I imagine
that you could play around a bit with generating random numbers which
could be used with chr to return a character.
--
David Robley
Temporary Kiwi!
Quod subigo farinam