Home »
MCQs »
PHP MCQs
Which element of the of PHP $_SERVER variable is used to get the filename of the currently executing script?
124. Which element of the of PHP $_SERVER variable is used to get the filename of the currently executing script?
- PATH
- FILE_PATH
- PHP_SELF
- SELF
Answer: C) PHP_SELF
Explanation:
The PHP_SELF element is used to get the filename of the currently executing script.