Re: is_alpha_numeric ?
| From: | Steve Werby | Date: | Fri, 06 Jul 2001 19:31:58 +0000 |
| Subject: | Re: is_alpha_numeric ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-56559@lists.php.net to get a copy of this message | ||
"John Monfort" <monfort@kahuna.sdsu.edu> wrote:
> I'm trying to determine if an argument is alphanumeric. Is there a
> function to do this?
There may be in the CVS version (would have to check), but there's not in
4.0.6. eregi( [[:alnum:]]{1,}, $string ) may do the trick.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/