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

Initial Knowledge Check Question 9 On Wednesday, a local hamburger shop sold a combined total of 243 hamburgers and cheeseburgers. The number of cheeseburgers s
please show work ty!
What are the different types of sampling
So I like to dance who does!
For the figures that have rotational symmetry, list the angles of rotation less than 360 degrees. For figures without rotational symmetry, write “no rotational
explain Faraday experiment​
Write questions for the answers. Use the question words in the box. (where / what / why / when / who / how / often which / how / many / what) 1 A: B: I'm a stud
Convert the following repeating decimal to a fraction in simplest form .31 with the 1 repeating
What is the average score of the golfer that is farthest from the line of best fit? A) 93 B) 96 C) 98 D) 99
(3x2+xy-5y2) + (2x2-xy+3y2) Dh