secure form submission of html with wysiwyg editor?

Discussion in 'PHP' started by jnm, Sep 12, 2007.

  1. #1
    1. I can't figure on how to keep form submissions via a WYSIWYG text editor (spaw, tinymce, wyzz, etc) from only allowing certain tags (the ones i want - bold, italic, underline, href, img, lists). How can these be submitted and any others be stripped?

    2. How do you parse the code back into the WYSIWYG so it looks the way it did before you submit it (minus the stripped tags)?

    Ideas or a link would be great. Thanks.
     
    jnm, Sep 12, 2007 IP