Store HTML in database |
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
|