validation help (checking for those nasty chars)
| From: | Craig Simons | Date: | Sun, 01 Oct 2000 03:41:50 +0000 |
| Subject: | validation help (checking for those nasty chars) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-18186@lists.php.net to get a copy of this message | ||
I have seen many examples using ereg to validate email addresses, but none for checking the so called "nasty characters" such as #!{}. etc. While I consider myself a step up from a php rookie - whatever that may be - I don't have a strong perl background and thus ereg calls look very scary to me ;) So far I have gotten along fine with strstr. If anyone could steer me in the right direction that would be appreciated.
- Craig Simons