mrkmcnack4535 mrkmcnack4535
  • 07-08-2019
  • Computers and Technology
contestada

It is an array containing information such as headers, paths and script locations wherein it is created by the web server itself

Select one:

a. $_SESSION

b. $_REQUEST

c. $_SERVER

d. PHP_SELF

Respuesta :

Branta Branta
  • 13-08-2019

Answer:

c. $_SERVER

Explanation:

$_SERVER is an array in PHP containing information about headers, paths, and script locations.

Example usage:

echo $_SERVER['HTTP_HOST'];

This will print information about HTTP_HOST header.

echo $_SERVER['DOCUMENT_ROOT'];

This provides information about document root path.

echo $_SERVER['SCRIPT_FILENAME'];

This provides information about the currently executing script.

Answer Link

Otras preguntas

The major asked me to have a drink with him and two other officers. We drank rum and it was very friendly. Outside it was getting dark. I asked what time the at
Not guilty by reason of insanity does not mean the defendant is innocent. a. True b. False
After her introduction, how should Sarah begin her speech? a with an example b. with the most complex c. with something useful d. with the most simple
____ is a carbon stick created from burnt wood and is commonly used to make drawings.
The person who also proposed a mechanism for evolution similar to natural selection was
how does the author react when a white man addresses her in a loud voice?
Why is refusing to stand for the national anthem an effective form of protest
which of the following is a monomial???
Which equation shows a valid, practical step in solving?
With all his gear, Neil Armstrong weighed 360 pounds on Earth. When he landed on the Moon, he weighed 60 pounds. Why?