Hi Richard,
> Why not just set a $basedir value somewhere and always use that in an
> include/require function: include "$basedir/sub/whatever" - then no
> matter where it's called from it'll never be wrong.
That makes sense...
Is it also recommended that an application local config file be used
Hello Alex,
Tuesday, February 10, 2004, 8:08:11 PM, you wrote:
AH> Are you saying that it's better not to use relative paths on include(...)'s,
AH> require(...)'s and their (x)_once(...) cousins?
Relative paths are fine, so long as you have strict control over what
is calling the script and from
2 matches
Mail list logo