Which superglobal variable holds information about headers, paths, and script locations?
-
A
$_GET
-
B
$_SERVER
Correct answer
-
C
$_SESSION
-
D
$_GLOBALS
Correct answer
B. $_SERVER
16 views
Explanation
The $_SERVER superglobal array contains information created by the web server.
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ