Well, you can make good use of regular expressions, or write your own function.
(It turns out i needed the functions, so I just wrote them, and included
them here)
**
//This regex checks for > 1 letters in a string - anything else will fail
if
Anyone know a good PHP function or script to scan a string for Valid
Characters to make sure something that is not allow is not included in a
form?
$Name = "#@@##@!#!@" would not be a valid alphabetical name, how do I
scan for that in PHP? Thanks.
--
PHP General Mailing List (http://www.php.n
2 matches
Mail list logo