How can I get the only name of the current executing file?
Answer Posted / palaniraja.wordpress.com
echo end(explode('/',$_SERVER["SCRIPT_NAME"]));
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Does php pass arrays by reference?
what is the scope of php in the future if any other language is developed then may be php is loss ???
What is use of echo in php?
How the values are ordered in an array?
What is mean tnq
How long do php sessions last?
What is php.ini & .htacess file?
Why do we use session?
How does the identity operator ===compare two values in PHP?
am from coimbatore.am learning php&mysql. what will be the approx salary for me if i get a job in coimbatore.
How to count all the lines of code in a directory and sub folder?
Is php an api?
Is PHP an open source software?
Why is php used for web development?
What does $globals mean?