I want to submit a function, can't understand how to
| From: | rakib hasan | Date: | Thu, 10 Oct 2013 19:00:45 +0000 |
| Subject: | I want to submit a function, can't understand how to | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-66947@lists.php.net to get a copy of this message | ||
Hello, The PHP Team,
today i was searching for a function which should generate random
characters with random integer values, but i can't find a better one.
So i have created a new function called rand_char(); if i pass 5 in
the parameter
<?php
echo rand_char(5);
?>
then it will generate a value like this: 5iUk4s or it can be less
than 5 but never more than 5 characters.
Is there is already a function like this? or I can submit it, then how
i can submit my function?
Thanks
Best regards
Hasan
Twitter: @rakibtg