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

What is being released during Glycolysis?
how many times does 6 go into 30
The government’s involvement in economy serves what two purposes?
What is the percentage increase from 108.5 to 145.4
What is the percentage increase from 108.5 to 145.4
Kim wants to put a small fence in the shape of a circle around a tree in her backyard. She wants the radius of the circle to be 2 feet, leaving room to plant fl
How could the loss of biodiversity affect humans?
What is the percentage increase from 108.5 to 145.4
if 1 gallon of paint covers 400 sq feet, about how many gallons of paint are needed to paint the outside of a spherical tank of diameter 20 feet?
Mike and Bill sell cars for Jangle's Auto. Over the past year they sold 640 cars. Assuming Mike sells 3 times as many as Bill, how many cars did Mike sell?