I would like to define a constant or variable wich will be accessible in all of my .php pages on my entire server. That constant/variable would behave exactly the way the php-constants 'FILE', 'TRUE' and 'PHP_VERSION' does.
The use could be that I am able to write:
include(FOO . "include.inc");
Where 'FOO' would be a path to the file 'include.inc'. Then if I would like to move the include directory I would just have to change the certain variable/constant 'FOO'.
I know, there is this variable: 'include_path' in php.ini that I could set, but what if I would like to use different include-paths for dirrerent parts of my site.
/Patrik