I want to strip the HTML out of a POST on my site.
Right now I have this:
But that just turns the < > to the HTML form if them.PHP Code:$string = strip_tags(htmlspecialchars(addslashes(stripslashes($value))));
Is there anyway I can completely remove the HTML?
Or detect if there is HTML in the post then to just exit and redirect to an error page?





Reply With Quote