• Hi,

    I hope it’s OK to do that, but if it isn’t please tell me.

    I am putting together my own CMS for my weblog, it’s never going to be released to the public, I don’t have the skills for that. Mine is very limited, not portable etc.

    I’m getting to the point where I want to add comments. I have everything worked out and all I need is the validate the user input. It should be valid XHTML (well-formed AND valid XHTML1.x).

    I want to use the $allowedtags array and probably the kses.php functions but I find it very hard to follow the path from the comment form to the returned formatted content.

    All I need is to send the content of the comment as a string to a function and have it return a safe XHTML string that i’ll send to the DB.

    All the rest is taken care of (supposedly).

    Can anyone give me a list of the functions/classes I need to have?

    And of course again: is it OK to just rip what I need and use it for my benefit?

    Thanks for your time.

  • The topic ‘functions involved in comments validation’ is closed to new replies.