strip metacharacters from form

Don Erickson derick at zeni.net
Wed Aug 3 20:06:38 CDT 2005


On Wed, 3 Aug 2005, Jack wrote:

> Anyone have a quick way to take the value of a text
> area and strip out the bad characters?

Depending on what you're going to do with it, in php 
escapeshellcmd(htmlentities(addslashes($_POST[text_area)))
would be a good start.


Regards,

-Don


More information about the Kclug mailing list