Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

How many predefined variables does PHP use to authenticate a user?

a) 1
b) 2
c) 3
d) 4

Answer: b
Explanation: The variables PHP use to authenticate a user are $_SERVER[‘PHP_AUTH_USER’] and $_SERVER[‘PHP_AUTH_PW’].

Join The Discussion