/ Published in: PHP
A function that returns a random alphanumeric string.
Expand |
Embed | Plain Text
function random_string($length, $max=FALSE) { { } $output = ''; for ($i=0; $i<$length; $i++) { if ($which === 0) { } elseif ($which === 1) { } else { } } return $output; }
You need to login to post a comment.
