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

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dkshri_jain
Forum Newbie
Posts: 8
Joined: Tue Dec 27, 2005 12:03 am
Location: India
Contact:

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

Post by dkshri_jain »

How can I get the only name of the current executing file in php.

tell me the answer please I will be thankful on dkshri_jain@yahoo.com.

Deepak
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

take a look at the $_SERVER superglobal.
Post Reply