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
How do you debug php?
What is the difference between the include() and require() functions?
Which is better php or nodejs?
What is difference between python and php?
what is difference between PHP4 , PHP5
What is a php trait?
How can you encrypt password using php?
What happens when submit button is clicked?
What are the methods of array in java?
How long is a php session valid?
Explain the casts allowed in PHP?
What are the differences between php constants and variables?
Does empty check for null?
How to assigning a new character in a string using php?
What is the difference between fopen() and fclose()?