Hi All,
I use the following, very common construct:
In script A I do a require of script B:
require(http://www.domain.nl/test/inc/scriptB.php;);
in scriptB I define a constant:
define(CONSTANT_X, VALUE_1);
I try to use this constant in scriptA, but it seems that the value is not
: [PHP] passing argument between scripts
Hi All,
I use the following, very common construct:
In script A I do a require of script B:
require(http://www.domain.nl/test/inc/scriptB.php;);
in scriptB I define a constant:
define(CONSTANT_X, VALUE_1);
I try to use this constant
2 matches
Mail list logo