Re: [PHP-DB] password generator

2003-12-11 Thread Nikos Gatsis
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

[PHP-DB] {PHP-DB} password generator

2003-12-10 Thread Nikos Gatsis
Hello list Is there any PHP script that generate password with digits from [a-zA-Z0-9] to suggest me? Thanx

RE: [PHP-DB] password generator

2003-12-10 Thread Peter Lovatt
- 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

Re: [PHP-DB] {PHP-DB} password generator

2003-12-10 Thread David T-G
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

Re: [PHP-DB] password generator

2003-12-10 Thread Roger Spears
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

Re: [PHP-DB] Password generator

2003-06-17 Thread Ramil G. Sagum
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

[PHP-DB] Password generator

2003-06-17 Thread Davy Obdam
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