how to include globals.php in template.php file I need the variables from the globals.php and I can't seem to call/register them in theme's template.php file. These variables are needed for my custom hook function for the template. Am i missing something (since it's been global and be called somewhere else during rendering)?
1.in order to include entire file into some other file,we have 2 functions in php:-

a) include('filename'):this function will include the file and if any error occurs during the importing of the file,then the script will not stop and will continue with its execution.

b) require('filename'):this function will include the file and if any error occurs during the importing of the file,then the script will stop.

include() function is recommended for including files.