I am coding the width of the WYSIWYG designMode = "on" editor in an iframe. The editor works fine, and I save the code as is in the database.
Before issuing html, I need to "clear" php on the server side to avoid cross-site scripting and other scary things. Is there any best practice on how to do this? What tags can be dangerous?
UPDATE: Typo fixed, this is what you see, this is what you get. Nothing new:)
javascript html php xss wysiwyg
Martin
source share