How can I get the only name of the current executing file?
Answer Posted / vaishali
basename($_SERVER('PHP_SELF'));
give the current file name
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
How to randomly retrieve a value from an array?
What is a controller in programming?
What is the difference between static and dynamic websites?
Explain me what is the use of 'print' in php?
How can we submit a form without using submit buttons?
Explain preg_Match and preg_replace?
What is php crud api?
How to Retrieve the Session ID of the Current Session?
What is the function mysql_pconnect() usefull for?
What version of php do I have windows?
What is abstract class php?
What is csrf token in php?
Why php was called as personal home page?
Where is the functions php in wordpress?
Is c similar to php?