ExamVeda
Login
Home
This question belongs to PHP HTML Forms Handling
HTML Forms Handling
?

Which of the following variables does PHP use to authenticate a user?
1. $_SERVER[‘PHP_AUTH_USER’].
2. $_SERVER[‘PHP_AUTH_USERS’].
3. $_SERVER[‘PHP_AUTH_PU’].
4. $_SERVER[‘PHP_AUTH_PW’].

Answer & Solution
Correct Answer: Option C
$_SERVER[‘PHP_AUTH_USER’] and $_SERVER[‘PHP_AUTH_PW’] store the username and password values, respectively.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.