Random Password Generator
| From: | Svetlin Simeonov | Date: | Tue, 13 Jun 2000 19:49:52 +0000 |
| Subject: | Random Password Generator | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-1739@lists.php.net to get a copy of this message | ||
Hi guys, is there anyone have a good solution for random password
generator ?
I think something about this
$newpass = "";
$string = "ABCDabcd1234";
for ($i=0; $i<8; $i++ ) {
$newpass.= substr(rand(0,sizeof($string)),1,$string);
}
--------------------------------------------------------
Unfortunatly no one can be told what the MATRIX is !