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 servers
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 --
?php
session_start();
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 variables under PHP 4.0.6
on a secure
server. I ran phpinfo and have attached the resulting page
after
('variable');
This is because 'register_globals' is enabled in the php.ini 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
-
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.0.6
Thanks that works in my testing example. But why? The manual says:
Caution
If you are using $_SESSION (or $HTTP_SESSION_VARS
5 matches
Mail list logo