Thanx you all guys, great tools indeed!
- Original Message -
From: Roger Spears [EMAIL PROTECTED]
To: php database [EMAIL PROTECTED]
Sent: Wednesday, December 10, 2003 6:33 PM
Subject: Re: [PHP-DB] password generator
Here's one I've used recently with success
http
Hello list
Is there any PHP script that generate password with digits from [a-zA-Z0-9] to suggest
me?
Thanx
-
From: Nikos Gatsis [mailto:[EMAIL PROTECTED]
Sent: 10 December 2003 13:42
To: PHP-mailist
Subject: [PHP-DB] password generator
Hello list
Is there any PHP script that generate password with digits from [a-zA-Z0-9]
to suggest me?
Thanx
--
PHP Database Mailing List (http://www.php.net
Nikos --
...and then Nikos Gatsis said...
%
% Hello list
Hi!
%
% Is there any PHP script that generate password with digits from [a-zA-Z0-9] to
suggest me?
This just came up on the php list recently... The best one that I saw
was a one-liner which peels the first N chars from an md5
Here's one I've used recently with success
http://www.devhood.com/tools/tool_details.aspx?tool_id=784
Thanks,
Roger
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a simple way would be to :
$pass = $allowable_characters[mt_rand(0,$ps_len-5)]
for($i = 0; $i ($length -2); $i++) {
$pass .= $allowable_characters[mt_rand(0,$ps_len-1)];
}
$pass .= $allowable_characters[mt_rand(0,$ps_len-5)]
// This variable contains the list of
Hi people,
I have to make a password generator, but i have a little problem.
- It needs to generate password 8 characters long, and including 1 or 2
special characters(like #$%*@).
- Those special characters can never appear as the first or last
character in the string... anywhere between is