Posted by David Haynes on 06/18/06 14:08
J Huntley Palmer wrote:
> What is the most efficient way to validate an input to conform to your
> needs?
>
> I need to make sure an input is a contiguous string with only printable
> characters (english alphabet+numbers only) and no whitespace or
> punctuation marks.
>
> Thanks
http://ca.php.net/manual/en/function.ctype-alnum.php
-david-
Navigation:
[Reply to this message]
|