How can I get the only name of the current executing file?
Answer Posted / hitha
$file_path=$_SERVER["SCRIPT_NAME"];
$break=explode('/',$file_path);
$file_name=$break[count($break)-1];
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
How do you use end in python?
Can we run php in apache tomcat?
What is the use of the function 'imagetypes()'?
Is php front end or back end?
Who is known as the father of php?
How can we increase execution time of a php script?
Tell me what types of loops exist in php?
What is the default session time in php?
What is the default time of cookie in php?
How to fix "headers already sent" error in php
Tell me what is the difference between characters 34 and x34?
Explain the differences between get and post methods?
What does $globals means?
What is apache and php?
Is facebook still written in php?