kid85 Posted January 5, 2008 Share Posted January 5, 2008 How can I get the path to HOME ? I run this but nothing is outputted... print getenv("HOME"); Link to comment https://forums.phpfreaks.com/topic/84599-how-to-get-path-to-home/ Share on other sites More sharing options...
mike1313 Posted January 5, 2008 Share Posted January 5, 2008 try <?php echo $_SERVER['DOCUMENT_ROOT']; ?> Link to comment https://forums.phpfreaks.com/topic/84599-how-to-get-path-to-home/#findComment-431110 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.