Which element of the of PHP $_SERVER variable is used to get the path of the current script?

123. Which element of the of PHP $_SERVER variable is used to get the path of the current script?

  1. SCRIPT_NAME
  2. SCRIPT_PATH
  3. PATH
  4. FILE_PATH

Answer: A) SCRIPT_NAME

Explanation:

The SCRIPT_NAME element is used to get the path of the current script.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.