Re: Re[4]: [PHP] HELP: Nested include(...)'s take relative paths not int uitively
| From: | John W. Holmes | Date: | Wed, 11 Feb 2004 15:25:23 +0000 |
| Subject: | Re: Re[4]: [PHP] HELP: Nested include(...)'s take relative paths not int uitively | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-177406@lists.php.net to get a copy of this message | ||
From: "Richard Davey" <rich@launchcode.co.uk>
> Personally I use a file called common.inc which is basically
> my global include file - it has nothing but variables I need set (no
> functions, etc - they are held elsewhere) and files I need to include.
> It sits at the root of my project and is included on every page. It's
> the only file that needs to be included.
I hope you are also denying access to .inc files otherwise we could view
your file as plain text. Same goes for INI files used with parse_ini_file()
that are stored in the webroot.
---John Holmes...