note 78584 deleted from function.rand by tularis
| From: | tularis@php.net | Date: | Thu, 18 Oct 2007 14:16:47 +0000 |
| Subject: | note 78584 deleted from function.rand by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-131496@lists.php.net to get a copy of this message | ||
Note Submitter: eat dot lemons at gmail dot com
Reason: useless
----
<?
function make_random() {
$alpha = "abcdefghijklmopqrstuvwxyz";
$string = str_split($alpha.strtoupper($alpha)."!£$%^&*()#'@;");
$count==1;
while ($count<count($string)) {
$randomness .= $string[rand(0,count($string))];
$count++;
}
return $randomness;
}
?>
Whats the likelihood of that duplicating?