note 15317 added to function.rand
| From: | jeff at eksx dot no-ip dot com | Date: | Wed, 05 Sep 2001 09:01:12 +0000 |
| Subject: | note 15317 added to function.rand | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17644@lists.php.net to get a copy of this message | ||
REPLY: haiyingliang@yahoo.com 16-Feb-2001 08:25
I think that's what it should be:
$string .= $allchars{mt_rand (0,strlen($allchars) -1)};
http://www.php.net/manual/en/function.rand.php