How can I get the only name of the current executing file?
Answer Posted / bhawani
$name=basename($_SERVER['PHP_SELF']);
echo $name;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Write a statement to show the joining of multiple comparisons in php?
How a constant is defined in a php script?
Why are sessions used?
What is $_ get?
What is difference between action hook and filter hook?
Is echo a function in php?
What is csrf token and how will you add csrf token in ajax?
Explain what does $_server means?
What are the design patterns in php?
how to track user logged out or not? when a user is idle?
What is strlen php?
Why would we use === instead of ==?
What is the special meaning of __sleep and __wakeup?
Tell me how do you define a constant?
Which software is used to run php programs?