I am using a form that a user can fill out but for security reasons I want html stripped out. If the user inputs html, I want it to kick back saying something to the fact that it had html removed. What I have works just fine with one exception, I want people to be able to use
Code:
<?php $RemarksPure = Trim(stripslashes($_POST['remarks'])); $Remarks = addslashes(preg_replace('#</?\w[^>]*>#',