Re: generate random ascii string
| From: | Sean C. McCarthy | Date: | Sat, 01 Sep 2001 16:41:54 +0000 |
| Subject: | Re: generate random ascii string | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-65611@lists.php.net to get a copy of this message | ||
Hi,
If you have random string including symbols just take them of with
regexp. Look at the manual for regular expresion functions. Hope it
helps.
Sean C. McCarthy
SCI, s.L. (www.sci-spain.com)
bill wrote:
>
> How can a random string of only letters and numbers be generated?
>
> I'm stumped so far on how to avoid including symbols.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net