Hello,

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)

You may want to try to use this class using regular expressions to 
forbid the tags that you do not want to be accepted:

http://www.phpclasses.org/browse.html/package/1.html

Regards,
Manuel Lemos



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to