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
Can you convert php to html?
What are the advantages and disadvantages of cascade style sheets?
What are session variables in php?
What's the best method for sanitizing user input with php?
Write logic to print Floyd's triangle in PHP?
Which is better python or php?
When use javascript vs php?
How to read and display a HTML source from the website url?
What is the different between count() and sizeof() in php?
What is the use of callback in php?
What is member variable?
Does php 5 support exceptions?
Tell me what should we do to be able to export data into an excel file?
What are some new features introduced in php7?
What is a substring in php?