does it matter if a global command has bee issued before with vars other
than the $test var? i.e before the include if there is a global $somevar;
-Shawn
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> * Thus wrote Ford, Mike [LSS] ([EMAIL PROTECTED]):
>
Don't you just hate it when the thread your replying to has gone on to some
other thread that you didn't notice?
-- Rob
"Rob Adams" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> "Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > I'm having prob
"Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm having problems using global vars. I have read the docs and all of
the
> notes but it's not helping. Simplified example:
>
> /dir1/script2.php
> $test = array ( 'a' => '1', 'b' => '2');
> ?>
>
> /dir1/script1.php
"Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm having problems using global vars. I have read the docs and all of
the
> notes but it's not helping. Simplified example:
Simplified? So maybe what you're giving us doesn't include the problem?
The scripts below
Sorry... nevermind. I was developing as part of a team and it seems that my
script is included in a function written by someone else. So my vars from
my included files are local to the other function and not global.
Thanks!
Shawn
"Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL
* Thus wrote Ford, Mike [LSS] ([EMAIL PROTECTED]):
> > -Original Message-
> > From: Ivo Fokkema [mailto:[EMAIL PROTECTED]
> > Sent: 13 August 2003 15:45
> >
> > "Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> >
> > As far as I know, no defi
OK, so what's the use of having the autoglobal $GLOBALS???
This is contrary to the docs.
-Shawn
"Ivo Fokkema" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > I'm having problems using global vars. I
> -Original Message-
> From: Ivo Fokkema [mailto:[EMAIL PROTECTED]
> Sent: 13 August 2003 15:45
>
> "Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > I'm having problems using global vars. I have read the
> docs and all of
> the
> > notes but it's not hel
8 matches
Mail list logo