Welcome Guest, Not a member yet? Register   Sign In
Store HTML in database

(This post was last modified: 10-07-2020, 11:56 AM by hobbyci.)

I would allow specific BBC-Tags. Not pure HTML.
Than you can convert the tags to the corresponding HTML tag.

First rule for security: Never trust user input

Edit: If you really want storing HTML in your database, then take a look at http://htmlpurifier.org/

Messages In This Thread
Store HTML in database - by AngelRodriguez - 10-05-2020, 03:06 PM
RE: Store HTML in database - by hobbyci - 10-07-2020, 11:51 AM

Theme © iAndrew 2016 - Forum software by © MyBB