Drezard Posted August 21, 2008 Share Posted August 21, 2008 Im trying to get the folder that the script is running from... kind of like __FILE__ except without the script.php bit at the end. Just the exact folder it is running from. Daniel Quote Link to comment Share on other sites More sharing options...
papaface Posted August 21, 2008 Share Posted August 21, 2008 <?php echo getcwd(); ?> Quote Link to comment 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.