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
What is static in php?
Who is the father of php and what is the current version of php and mysql?
Which is better php or wordpress?
What is php written in?
What are the benefits of using queries?
Explain what is the difference between session and cookie?
What beforeFilter() is used?
How to set session.gc_maxlifetime properly?
How to get the ip address of the client?
Is php front end?
Is php a float?
What is the purpose of the '.myd' file extension? What do thes file contain?
How can you tell if a number is even or odd without using any condition or loop?
Is php object oriented?
Tell me how can I display text with a php script?