nerdexam
Zend

200-710 · Question #124

Which of the following items in the $_SERVER superglobal are important for authenticating the client when using HTTP Basic authentication? (Choose 2)

The correct answer is D. PHP_AUTH_USER E. PHP_AUTH_PW. See the full explanation below for the reasoning.

Question

Which of the following items in the $_SERVER superglobal are important for authenticating the client when using HTTP Basic authentication? (Choose 2)

Options

  • APHP_AUTH_TYPE
  • BPHP_AUTH_PASSWORD
  • CPHP_AUTH_DIGEST
  • DPHP_AUTH_USER
  • EPHP_AUTH_PW

How the community answered

(47 responses)
  • A
    15% (7)
  • B
    4% (2)
  • C
    9% (4)
  • D
    72% (34)

Community Discussion

No community discussion yet for this question.

Full 200-710 Practice