Storing HTML characters

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
cyrusc22
User
Posts: 13

Storing HTML characters

Post by cyrusc22 »

Hi there, I'm trying to create a free form content input for one of my clients. Basically need for them to have the ability to simply insert an HTML form into a textblog in the PHPadmin I've created. Content such as form tags, input, etc. What's happening right now is these tags are beings stripped out on save? Please let me know what to adjust? NOTE: I've tried this with the WYSIWYG enabled and without.


mobhar
User
Posts: 11745

Post by mobhar »

If you're using PHPMaker v2019, then simply change this:
// Remove XSS
define(PROJECT_NAMESPACE . "REMOVE_XSS", TRUE);

to:
// Remove XSS
define(PROJECT_NAMESPACE . "REMOVE_XSS", FALSE);

Please use it on your own risk.


Post Reply