> In this file I have variables I'd like to use in the calling page and
functions called by that page.
You can use the a variable globally by using the superglobal array called
$GLOBALS instead of the keyword global.
Check here for more information:
http://us4.php.net/language.variables.scope
There is another way, and this method is one I prefer personally.
You can use the define keyword to define a constant. Constants defined this
way are automatially global, so you can access them from included scripts
and functions as well.
define('MYVARIA BLE', 'stringvalue');
print MYVARIABLE;
http://us4.php.net/define
If you know you will not need to change the value you should use
constants... if you have a reason to modify the value of the variable you
should use the $GLOBALS array.
_______________ _______________ ______
Wil Moore III, MCP | Integrations Specialist