"Kirk Johnson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> If register_globals is "Off" in php.ini, then do the following:
>
> - do not use session_register(), etc.
> - use $HTTP_SESSION_VARS for all accesses.
I have code similar to Henry's running fine on both 4.0.5 and 4.2.3 se
myVar'] = 'some new value';
print $HTTP_SESSION_VARS['myVar'];
Kirk
> -Original Message-
> From: Henry Grech-Cini [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 03, 2003 10:29 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Session variable under PHP 4
th these two lines:
>
> $variable = "the variables value";
> session_register('variable');
>
> This is because 'register_globals' is enabled in the php.ini file.
>
> Kirk
>
> > -Original Message-
> > From: Henry Grech-Cini [mailto:[EMAIL P
i file.
Kirk
> -Original Message-
> From: Henry Grech-Cini [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 03, 2003 9:34 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Session variable under PHP 4.0.6
>
>
> Hi All,
>
> I'm having a problem with session v
Hi All,
I'm having a problem with session variables under PHP 4.0.6 on a secure
server. I ran phpinfo and have attached the resulting page after the main
body of this message.
My test code looks like this
Filename: index.php
Page Start --
click here to go to the next page
Page En
5 matches
Mail list logo