Arragon
01-25-2007, 08:27 PM
Does anyone know of a PHP function or class that will take user input and strip out all html tags except the A tags, IMG tags or others that I permit?
I am working on a simple bulletin board type system and I want to allow users to post links and images, but not scripts, tables or other things I deem unworthy.
Such code must surly exist. I am hoping to not spend time re-inventing the wheel here.
I am working on a simple bulletin board type system and I want to allow users to post links and images, but not scripts, tables or other things I deem unworthy.
Such code must surly exist. I am hoping to not spend time re-inventing the wheel here.