Don't have access to php.ini -- we're in a shared hosting environment...........
I can make it work with $my_include_path = $DOCUMENT_ROOT . "includes/file.inc"; Then I just prepend include files with $my_include_path. A little more work, but better than chucking all my files in the root directory as I've been doing.......... The .htaccess idea is another option, but it looks like apache.org doesn't view setting the include path in .htaccess as particularly efficient (something about apache crawling from top to bottom through the directory tree to find the default include directory) -- I don't know, the $DOCUMENT_ROOT method does the trick for now........ Feel free to chime in anyone who has a better solution, --Noah ----- Original Message ----- From: "Robert Cummings" <[EMAIL PROTECTED]> To: "CF High" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, February 22, 2003 1:22 PM Subject: Re: [PHP] Sitewide Header & Footer Includes || Trouble with Relative Paths.......... > I don't know if it helps... but you should take a look at the ini_set() > function. Perhaps you can set the appropriate stuff using that. > > Cheers, > Rob. > > > CF High wrote: > > > > Hey Tom. > > > > Thanks for the idea; however, since we're not hosting the site on our own > > server, we don't have permissions for altering the php.ini file.......... > > > > -- > .---------------------------------------------. > | Worlds of Carnage - http://www.wocmud.org | > :---------------------------------------------: > | Come visit a world of myth and legend where | > | fantastical creatures come to life and the | > | stuff of nightmares grasp for your soul. | > `---------------------------------------------' > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php