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 Link to comment https://forums.phpfreaks.com/topic/120666-file-folder/ Share on other sites More sharing options...
papaface Posted August 21, 2008 Share Posted August 21, 2008 <?php echo getcwd(); ?> Link to comment https://forums.phpfreaks.com/topic/120666-file-folder/#findComment-621805 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.