First, I'm new to PHP. I have a script that has a piece of code that looks like this - require_once($CFG->wwwroot . '/lib/mylib.php'); My question is this, I'm trying to find out how the class $CGF was initiated.There are no include or require statement before the statement. Is $CFG a global variable? If how does it get initiated? Tnaks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php