Re: Mailing address validation... too many possibilities?
| From: | Ignacio Vazquez-Abrams | Date: | Thu, 23 Nov 2000 15:16:46 +0000 |
| Subject: | Re: Mailing address validation... too many possibilities? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-26834@lists.php.net to get a copy of this message | ||
On Thu, 23 Nov 2000, Dallas Kropka wrote:
> I need to validate that a mailing address does not contain invalid characters... no
> <script> or PHP code for security,.... that sort of thing. Instead of validating the format of
> the entry, I think it would be easier to check for cretin invalid characters..... how would I do
> this?
>
Naw, it's much easier to use htmlspecialchars() and kiss your problems
goodbye.
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>