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 / palaniraja.wordpress.com

echo end(explode('/',$_SERVER["SCRIPT_NAME"]));

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I run a php script in windows?

995


How to retrieve the original query string?

1030


Is jquery better than javascript?

938


What is laracast?

981


What is difference between mysql_fetch_array and mysql_fetch_assoc?

909


What is Gd PHP?

929


What is namespace and use in php?

943


How many types of errors in php?

1010


How are php sessions stored?

939


Name some of the popular frameworks in php.

947


Name some of the functions in php.

940


What is the w3c?

8890


What is the use of $_server and $_env?

1002


How to write the form tag correctly for uploading files?

922


Tell me what are magic methods?

937