Jump to content

Closing all tags


Taxa

Recommended Posts

Hello! I am making a website where the user can add html code to their profiles allowing them to customise them. I am using the strip_tags() function to restrict the user on possible tags, but, I discovered that users can manipulate the site without closing tags. Is there a way that I can allow the user to edit their profiles with html, but make sure that all tags are closed preventing the manipulation with the website layout.

Link to comment
https://forums.phpfreaks.com/topic/108632-closing-all-tags/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.