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 I run a php script in windows?
How to retrieve the original query string?
Is jquery better than javascript?
What is laracast?
What is difference between mysql_fetch_array and mysql_fetch_assoc?
What is Gd PHP?
What is namespace and use in php?
How many types of errors in php?
How are php sessions stored?
Name some of the popular frameworks in php.
Name some of the functions in php.
What is the w3c?
What is the use of $_server and $_env?
How to write the form tag correctly for uploading files?
Tell me what are magic methods?