nerdexam
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)
  • A
    3% (1)
  • B
    72% (21)
  • D
    17% (5)
  • E
    7% (2)

Community Discussion

No community discussion yet for this question.

Full 200-530 Practice