doubledee Posted April 22, 2011 Share Posted April 22, 2011 If I an deep inside of nested folders, how do I get back to the Web Root (as far as directory notation goes)?? Debbie Quote Link to comment https://forums.phpfreaks.com/topic/234475-go-to-web-root/ Share on other sites More sharing options...
lastkarrde Posted April 22, 2011 Share Posted April 22, 2011 $_SERVER['DOCUMENT_ROOT'] ? Or define your own constant/variable/global specifying your root directory. Quote Link to comment https://forums.phpfreaks.com/topic/234475-go-to-web-root/#findComment-1205050 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.