Jump to content

Prevent HTML


dark_mirage

Recommended Posts

Just a quick question, i have a profile page on my site, where members can submit their own info, for everyone else to view (think, facebook/myspace). However, at the moment, they are able to put html in their profiles, and it will be outputted in html on the profile page that everyone sees.

 

Is there a way to stop this?  and only have formatting such as line breaks,  but no html tags?

 

I think ive made this sound more complicated than it is to be honest, if nobody understands what i mean il try and rephrase :P

 

Thanks for any help.

Link to comment
https://forums.phpfreaks.com/topic/101259-prevent-html/
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.