malikah Posted July 8, 2009 Share Posted July 8, 2009 Is it necessary to use htmlentities() for isset() as a security feature? eg: if( isset( $_REQUEST['botdetector'] ) ) VS. if( isset( htmlentities($_REQUEST['botdetector']) ) ) Link to comment https://forums.phpfreaks.com/topic/165213-htmlentities-for-isset/ Share on other sites More sharing options...
rhodesa Posted July 8, 2009 Share Posted July 8, 2009 nope...you just need that when displaying it. to keep people from injecting HTML tags into your page Link to comment https://forums.phpfreaks.com/topic/165213-htmlentities-for-isset/#findComment-871204 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.