Jump to content

submit forms avoid html and php tags


aliento

Recommended Posts

It depends on what you want to do. If you want to allow users to post tags, then don't use strip_tags which will remove tags. htmlentities and htmlspecialchars will simply convert some of those characters to their character entities, making them safe to print to your page

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.