In index.php rather than declaring vars like so... $var = 'value'; ...declare them in the $GLOBALS array like so... $GLOBALS['var'] = 'value'; $var is then in the global scope regardless of where it was set. -Stut
That would work. However I'm looking for a more generic solution, independent of the system that is being included. So basically I want to be able to include a file in my function while stepping out of the context of the function itself.
E -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php