Keeping image files out of textbox
How do I implement this feature? I don't want users to be able to insert images into simple textboxes for commenting on my website. I know there is a strip tag feature however what program can I use to implement it?
Update: I have modified some of code to read ((isset($_POST["commentsbox"]))?(strip_tags($_POST["commentsbox"])):"") which keeps ALL tags out, however if I only want to keep certain tags such as image, how can I change that code above to handle this feature?