πŸ“Š PHP
Q. Which PHP function is used to get the current script name?
  • (A) $_SERVER['SCRIPT_NAME']
  • (B) $_SERVER['PHP_SELF']
  • (C) $_SERVER['SCRIPT_FILENAME']
  • (D) $_SERVER['REQUEST_URI']
πŸ’¬ Discuss
βœ… Correct Answer: (B) $_SERVER['PHP_SELF']

Explanation: $_SERVER['PHP_SELF'] returns the filename of the currently executing script.

Explanation by: Admin
$_SERVER['PHP_SELF'] returns the filename of the currently executing script.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
2
Total Visits
πŸ“½οΈ
1 d ago
Published
πŸŽ–οΈ
Admin
Publisher
πŸ“ˆ
97%
Success Rate