ryan.od Posted September 25, 2007 Share Posted September 25, 2007 I am developing a site that is hosted on Yahoo! In order to set up my include path, I am doing the following. . . ini_set('url_rewriter.tags',''); ini_set('session.use_trans_sid',false); session_start(); $path = ""; set_include_path(get_include_path() . PATH_SEPARATOR . $path); HOWEVER, it has just come to my attention that Yahoo! will NOT provide anyone with the path to the root folder??? Can anyone help me with this? Is there a way I can get this info or set up my include paths? Thanks, RyanOD Quote Link to comment https://forums.phpfreaks.com/topic/70680-urgent-root-path-on-yahoo/ Share on other sites More sharing options...
trq Posted September 25, 2007 Share Posted September 25, 2007 What does... <?php echo $_SERVER['DOCUMENT_ROOT']; ?> display? Quote Link to comment https://forums.phpfreaks.com/topic/70680-urgent-root-path-on-yahoo/#findComment-355320 Share on other sites More sharing options...
youscript Posted September 26, 2007 Share Posted September 26, 2007 <?php echo dirname(__FILE__); ?> will get the real dir. like "/usr/local/www/username" etc Quote Link to comment https://forums.phpfreaks.com/topic/70680-urgent-root-path-on-yahoo/#findComment-355523 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.