Zend
200-530 · Question #159
Which function can help prevent cross-site scripting? (Choose 2)
The correct answer is B. htmlentities() C. htmlspecialchars(). See the full explanation below for the reasoning.
Question
Which function can help prevent cross-site scripting? (Choose 2)
Options
- Aaddslashes()
- Bhtmlentities()
- Chtmlspecialchars()
- Dstrip_tags()
- Equotemeta()
How the community answered
(29 responses)- A3% (1)
- B72% (21)
- D17% (5)
- E7% (2)
Community Discussion
No community discussion yet for this question.