_COOKIE_VARS;
>
> or
>
> upgrade your PHP and jus use $_COOKIE['testcookie'] and it's always
> available, regardless of scope.
>
> ---John Holmes...
>
> > -Original Message-
> > From: Chris Morrow [mailto:[EMAIL PROTECTED]]
> > S
ED]]
> Sent: Thursday, June 27, 2002 4:30 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Accessing cookies in required files
>
> Hi,
>
> Can anyone help with this problem?
>
> I have a file called "settings.inc" which I include in all files on my
> site
> lik
This sounds like a problem with the function, not file. Are you
globaling the variable with the cookie?
Chris Morrow wrote:
>Hi,
>
>Can anyone help with this problem?
>
>I have a file called "settings.inc" which I include in all files on my site
>like this:
>
>require("settings.inc");
>
>Up un
Hi,
Can anyone help with this problem?
I have a file called "settings.inc" which I include in all files on my site
like this:
require("settings.inc");
Up until now this has worked fine. But now I have a function in the
settings.inc file that tries to read the value of a cookie called
"testcook
4 matches
Mail list logo