Perad Posted June 27, 2008 Share Posted June 27, 2008 If $_SERVER['PHP_SELF'] tells me the file name. How do I find what the server path is? Link to comment https://forums.phpfreaks.com/topic/112187-how-do-i-find-the-root-server-path/ Share on other sites More sharing options...
hitman6003 Posted June 27, 2008 Share Posted June 27, 2008 $_SERVER['DOCUMENT_ROOT'] Link to comment https://forums.phpfreaks.com/topic/112187-how-do-i-find-the-root-server-path/#findComment-575900 Share on other sites More sharing options...
ScotDiddle Posted June 27, 2008 Share Posted June 27, 2008 Perad, The following will show you all sort's of useful information... Scot L. Diddle, Richmond VA <?php echo "<pre> \n"; var_dump($_SERVER); echo "</pre> \n"; ?> Link to comment https://forums.phpfreaks.com/topic/112187-how-do-i-find-the-root-server-path/#findComment-575904 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.