Welcome! » Log In » Create A New Profile

At what point htmlpurifier is used?

Posted by mmx 
mmx
At what point htmlpurifier is used?
March 31, 2015 03:53PM

I know my question is too obvious but after general googling and searching in this forum I haven't found a clear answer in the following question..

At which point in my application HTMLpurifier takes place?

Is it when a user submits data which I want to store in the database? Such as username, password and comment?

Or maybe I use it when I need to retrieve data from the database and show it on the user?

Or maybe both?

Since I am not too technical.. maybe I did not use the right words to query the forum.. So can you please share a link or so..?

Thanks in advance!

Re: At what point htmlpurifier is used?
March 31, 2015 03:58PM
Author:
Your Email:

Subject:

HTML input is enabled. Make sure you escape all HTML and angled brackets with < and >.

Auto-paragraphing is enabled. Double newlines will be converted to paragraphs; for single newlines, use the pre tag.

Allowed tags: a, abbr, acronym, b, blockquote, caption, cite, code, dd, del, dfn, div, dl, dt, em, i, ins, kbd, li, ol, p, pre, s, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, var.

For inputting literal code such as HTML and PHP for display, use CDATA tags to auto-escape your angled brackets, and pre to preserve newlines:

<pre><![CDATA[
Place code here
]]></pre>

Power users, you can hide this notice with:

.htmlpurifier-help {display:none;}

Message: