Re: Removing security-problematic chars from strings
| From: | Erin | Date: | Fri, 21 Nov 2003 09:35:43 +0000 |
| Subject: | Re: Removing security-problematic chars from strings | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-170534@lists.php.net to get a copy of this message | ||
use preg_match or eregi
:>
"Troy S" <troysocks-twigs@yahoo.com> wrote in message
news:20031121090433.12103.qmail@web13409.mail.yahoo.com...
> Greetings,
>
> What is the best way to remove the characters from strings that may
> cause security problems? Namely, `, ', ", <, >, \ and all non-printing
> strings. Did I miss any? Thanks.
>
> Troy
>
>
>