Re: Regular Expression Help: genreate alphanumeric, 8 chars
| From: | David T-G | Date: | Fri, 28 Nov 2003 12:03:49 +0000 |
| Subject: | Re: Regular Expression Help: genreate alphanumeric, 8 chars | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-171263@lists.php.net to get a copy of this message | ||
Adam --
..and then Adam i Agnieszka Gasiorowski FNORD said...
%
..
% How about,
%
% $password = strtolower(substr(md5(uniqid(time())), 0, 7));
Hey, that's pretty slick. Good one! Gonna have to remember that; it's
an excellent trick.
Thanks & HAND
:-D
--
David T-G * There is too much animal courage in
(play) davidtg@justpickone.org * society and not sufficient moral courage.
(work) davidtgwork@justpickone.org -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/ Shpx gur
Pbzzhavpngvbaf Qrprapl Npg!