HCProfessionals Posted October 4, 2011 Share Posted October 4, 2011 I am trying to figure out a way to echo the directory name of the script location. Quote Link to comment https://forums.phpfreaks.com/topic/248405-directory-name-of-a-script/ Share on other sites More sharing options...
AbraCadaver Posted October 4, 2011 Share Posted October 4, 2011 echo dirname(__FILE__); Quote Link to comment https://forums.phpfreaks.com/topic/248405-directory-name-of-a-script/#findComment-1275622 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.