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
David T-G wrote:
> Bogdan --
>
> ...and then Bogdan Stancescu said...
> %
> % ...as in...
> %
> % % // Could've been done with ASCII sets, but this way
> % // you can easily tweak the eligible characters.
> % $eligible='abcdefghijklmnopqrstuvwxyz0123456789';
> % $pwdLen=8;
> % $passwo
Shaun wrote:
Hi,
I need to generate a lowercase alphanumeric passwrord thats 8 characters
long, has anyone got a function that can do this?
No, but I can write a quick one for you. Can't guarantee the uniqueness
of the password being generated.
function passgen()
{
srand((float) microtime()
Bogdan --
...and then Bogdan Stancescu said...
%
% ...as in...
%
%
Looks good to me. You're too kind; I was going to leave the exercise to
the student to complete :-)
%
% Bogdan
HTH & HAND
:-D
--
David T-G * There is too much animal courage in
(play) [EMAIL PROTEC
...as in...
Bogdan
David T-G wrote:
Shaun --
[No need to post twice...]
...and then Shaun said...
%
% Hi,
Hi!
%
% I need to generate a lowercase alphanumeric passwrord thats 8 characters
% long, has anyone got a function that can do this?
This isn't really a regular expression question, s
Shaun --
[No need to post twice...]
...and then Shaun said...
%
% Hi,
Hi!
%
% I need to generate a lowercase alphanumeric passwrord thats 8 characters
% long, has anyone got a function that can do this?
This isn't really a regular expression question, since you'd use an
expression to check
Hi,
I need to generate a lowercase alphanumeric passwrord thats 8 characters
long, has anyone got a function that can do this?
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
7 matches
Mail list logo