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
Why is php used?
What is difference between static and final in php?
Can php run without apache?
What is php resource type?
What is the purpose of the following files having extensions: frm, myd, and myi? What these files contain?
What is $_session in php?
How to return a value back to the function caller?
What is abstraction php?
Can constructor be private in php?
What is the difference between php and java?
Is empty function c++?
How are variables declared in php?
What is session in PHP. How to remove data from a session?
Do you know what is the differences between $a != $B and $a !== $B?
How do I install php and apache on windows 10?