[thelist] PHP includes (how to call from subdir)

Aleem Bawany aleem.bawany at utoronto.ca
Sat Dec 7 17:37:00 CST 2002


> sure, you can do it like that, but i think it's worth mentioning that
> you can change the include_path directive per directory. in an
> .htaccess file in your DocumentRoot, add something like:
>
> php_value include_path=".:/path/to/my/includes:/some/other/path"
>
> (the . indicating current directory) and you can forgo the relative
> link nonsense.
>

A much better solution!
Thanks

aleem




More information about the thelist mailing list