note 56420 deleted from function.rand by derek
| From: | derek@php.net | Date: | Fri, 02 Sep 2005 02:54:35 +0000 |
| Subject: | note 56420 deleted from function.rand by derek | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-94634@lists.php.net to get a copy of this message | ||
Note Submitter: bg at ms dot com
----
For creating a random password, what's wrong w/ this?
$x="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
$pass=str_shuffle($x);
Randomly jumbles up the entire string.