Answer Posted / naga
$parts = Explode('/', $_SERVER["SCRIPT_NAME"]);
$currentFile = $parts[count($parts) - 1];
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How can I learn php fast?
Tell me how do you execute a php script from the command line?
What is the scope of a variable defined outside a function?
Tell me what is use of in_array() function in php?
what are the differences between php and perl
What type of errors can be occurred in php?
What is the use of offset in mysql?
What happens when submit button is clicked?
how to track user logged out or not? when a user is idle?
What is $_ request in php?
How to increase the execution time of a PHP script?
Is laravel easy to learn?
Are static variables final?
Tell us what is the difference between session_unregister() and session_unset()?
What is the most convenient hashing method to be used to hash passwords?