πŸ“Š PHP
Q. Which PHP function prevents Cross-Site Scripting (XSS)?
  • (A) strip_tags()
  • (B) htmlspecialchars()
  • (C) htmlentities()
  • (D) All of the above
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of the above

Explanation: All help sanitize HTML output.

Explanation by: Kanak Sharma
All help sanitize HTML output.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
1
Total Visits
πŸ“½οΈ
6 h ago
Published
πŸŽ–οΈ
Kanak Sharma
Publisher
πŸ“ˆ
81%
Success Rate