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 you debug php?

982


What is the difference between the include() and require() functions?

1492


Which is better php or nodejs?

957


What is difference between python and php?

967


what is difference between PHP4 , PHP5

2364


What is a php trait?

946


How can you encrypt password using php?

1050


What happens when submit button is clicked?

938


What are the methods of array in java?

954


How long is a php session valid?

1011


Explain the casts allowed in PHP?

1031


What are the differences between php constants and variables?

1143


Does empty check for null?

961


How to assigning a new character in a string using php?

1189


What is the difference between fopen() and fclose()?

1108