In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Justin French) wrote:

> Am I missing something? I'm trying to use vars set in my config.php file in
> a function, and can't seem to do it without using $GLOBALS["varname"] 
> Is there a way to make global vars available in each function, or is this
> just the way things go?

PHP scope rules are different from C and other languages; you must use the 
'global' keyword.  See 
<> for more info.


PHP General Mailing List (
To unsubscribe, visit:

Reply via email to