- disallow html code
- special tags (standard BBcode - [quote][url][img])
- keep it xhtml1.1 compliant
so, i have achieved the first 3 points, but i was wondering which php functions would you recommend for filtering the comments text?
plus, is there any way to garantee that the document keeps xhtml compliant?
(cross-posted to webdev and php)