Here are a couple resources to help your cause:
http://uk.php.net/strip_tags And to get ideas on how to validate forms intelligently: http://www.zend.com/zend/spotlight/form-pro-php4.php Regards, Philip Olson On Thu, 25 Apr 2002, Tarjei Huse wrote: > Hi, > > I need a function or class to validate a form with a cuple of text areas > that are alloed to contain a few html tags (<br><p> etc) but not all, > and I need a script to validate the input from the fields and stop the > html elements that are not allowed. > > Does anyone have a function or class handy that I might use? (for free) > > Thanks > Tarjei > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php