Checking string for invalid characters...
| From: | Marcelo J. Iturbe | Date: | Thu, 06 Jul 2000 15:30:15 +0000 |
| Subject: | Checking string for invalid characters... | ||
| Groups: | php.general php.general | ||
| Request: | Send a blank email to php-general+get-5230@lists.php.net to get a copy of this message | ||
Hello,
I was wondering if some some had a routine which would check a string for invalid characters.
I figure the logic would be something of the following:
The user passes me a string and I compare character by character against my array of "allowed" strings. but this is a while looop with a while loop and it can get kind of cumbersome.
If any one already has a good routine or solution I would apreciate any help.
Thanks
Marcelo
PS: Please reply to my email address since my mail system cannot handle me being on this list.