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

Is php still relevant 2019?

1013


What are hooks in php?

999


What is difference between md5 and SHA256?

1195


Where are php configuration settings stored?

1089


What are the rules in creating php variable?

1077


Explain about PHP cookies?

1111


What is the function file_get_contents() useful for?

990


What are the differences between php3 and php4 and php5? What is the current stable version of php? What advance thing in php7?

1098


What is difference between variable declaration and variable definition?

1025


How to enable cURL in PHP?

1204


Is laravel frontend or backend?

1009


Does php have block scope?

1017


Tell me how the result set of mysql be handled in php?

1036


How can I find my php version?

1071


Which is better php or nodejs?

1016