Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How can I get the only name of the current executing file?

Answer Posted / bhawani

$name=basename($_SERVER['PHP_SELF']);

echo $name;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a statement to show the joining of multiple comparisons in php?

960


How a constant is defined in a php script?

957


Why are sessions used?

896


What is $_ get?

918


What is difference between action hook and filter hook?

838


Is echo a function in php?

942


What is csrf token and how will you add csrf token in ajax?

907


Explain what does $_server means?

1006


What are the design patterns in php?

936


how to track user logged out or not? when a user is idle?

864


What is strlen php?

942


Why would we use === instead of ==?

8789


What is the special meaning of __sleep and __wakeup?

942


Tell me how do you define a constant?

895


Which software is used to run php programs?

947