nerdexam
Zend

200-710 · Question #154

Which function can NOT help prevent cross-site scripting? (Choose 2)

The correct answer is A. addslashes() E. quotemeta(). See the full explanation below for the reasoning.

Security

Question

Which function can NOT help prevent cross-site scripting? (Choose 2)

Options

  • Aaddslashes()
  • Bhtmlentities()
  • Chtmlspecialchars()
  • Dstrip_tags()
  • Equotemeta()

How the community answered

(27 responses)
  • A
    74% (20)
  • B
    4% (1)
  • C
    7% (2)
  • D
    15% (4)

Topics

#XSS prevention#addslashes#quotemeta#output encoding

Community Discussion

No community discussion yet for this question.

Full 200-710 Practice