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

Is laravel frontend or backend?

955


How to find a specific value in an array?

924


What is the sign to start variables in PHP?

1098


What types of MYSQL function available for affecting columns

949


Explain the purpose of output buffering in php.

990


What is php and its features?

1057


Php being an open source is there any support available to it?

1111


How does php server work?

1028


What are php expressions?

1105


Tell me what is htaccess?

920


What is an associative array?

1050


How to set session.gc_maxlifetime properly?

1067


What are html entities?

947


Is php an object or array?

958


What is the difference between abstract class and interface in php?

1132