nerdexam
Zend

200-550 · Question #100

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_PW E. PHP_AUTH_USER. 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_PW
  • EPHP_AUTH_USER

How the community answered

(24 responses)
  • A
    13% (3)
  • B
    4% (1)
  • C
    4% (1)
  • D
    79% (19)

Community Discussion

No community discussion yet for this question.

Full 200-550 Practice