Answer Posted / lakshmi
<?php
$path = "/home/httpd/html/index.php";
$file = basename($path);
$file = basename($path, ".php");
?>
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Explain Booleans in PHP?
How do I end a php session?
Why super () is used in java?
What are the common uses of php?
Is PHP an open source software?
Tell me what is the difference between get and post?
Steps for the payment gateway processing?
How can we pass the variable through the navigation between the pages?
How is it possible to remove escape characters from a string?
What are interfaces in php?
Is it possible to use com component in php?
How do you execute a php script from the command line?
What does php exit do?
A process is identified by a unique___
Do you know how can php and html interact?