A Admin • 833K Points Coach Q. Which PHP function can be used to safely output user input to prevent XSS attacks? (A) htmlspecialchars() (B) strip_tags() (C) htmlentities() (D) addslashes() Correct Answer - Option(A) Views: 25 Filed under category PHP Hashtags: Share Manage Tags
Discusssion
Login to discuss.