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
Is php still relevant 2019?
What are hooks in php?
What is difference between md5 and SHA256?
Where are php configuration settings stored?
What are the rules in creating php variable?
Explain about PHP cookies?
What is the function file_get_contents() useful for?
What are the differences between php3 and php4 and php5? What is the current stable version of php? What advance thing in php7?
What is difference between variable declaration and variable definition?
How to enable cURL in PHP?
Is laravel frontend or backend?
Does php have block scope?
Tell me how the result set of mysql be handled in php?
How can I find my php version?
Which is better php or nodejs?