I use the following, very common construct:
In script A I do a require of script B:
in scriptB I define a constant:
I try to use this constant in scriptA, but it seems that the value is not
echo(CONSTANT_X); in srciptA
In scriptB the echo displays the correct value.
My hostprovider has the following setting, which in my view should make it
possible to pass arguments as
register_globals = on
safemode = on
open_basedir refers to the htdoc folder of the domain.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php