> If my document root is something like /home/myname/dir/ (as per
phpinfo()),
> and I put my include files in /home/myname/includes/, is that actually
> outside of the document root, or is anything under /home/myname/ actually
> the document root?
Yes, that's outside.
If phpinfo() says:
/home/myname/dir/
then these are bad:
/home/myname/dir/foo.inc
/home/myname/dir/includes/foo.inc
/home/myname/dir/as/deep/as/you/want/foo.inc
and these are okay:
/home/myname/includes/foo.inc
/home/myname/includes/as/deep/as/you/want/foo.inc
/any/other/random/directory/foo.inc
Of course, you now have the challenge of configuring 'include_path' in
php.ini to have all the paths you need :-)
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]