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
What happens if an expected input field was not submitted?
What advance thing in php7?
Does php pass arrays by reference?
What is the role of php.ini file?
What is form validation in php?
Where is session id stored?
How to join multiple strings stored in an array into a single string?
Is php used anymore?
Is age nominal or ordinal?
How can you increase the maximum execution time of a script in php?
Does php need to be installed?
Tell me what is the definition of a session?
What is constructor and destructor?
What is the main difference between require() and include()?
What are the Advantages and Application Areas of PHP?