From: Lynna Landstreet <lynna@gallery44.org>
To: pgsql-php@postgresql.org
Subject: Re: Strange warning message
Date: Wed, 28 Jul 2004 15:52:38 -0400
Message-ID: <BD2D7C46.1664%lynna@gallery44.org> (raw)
In-Reply-To: <BD2D7508.1661%lynna@gallery44.org>
on 7/28/04 3:21 PM, Lynna Landstreet at lynna@gallery44.org wrote:
> Warning: Unknown(): Your script possibly relies on a session side-effect
> which existed until PHP 4.2.3. Please be advised that the session
> extension does not consider global variables as a source of data, unless
> register_globals is enabled. You can disable this functionality and this
> warning by setting session.bug_compat_42 or session.bug_compat_warn to
> off, respectively. in Unknown on line 0
An additional comment - I was reading more about register_globals just now,
and I don't think anything in my script relies on that, at least not as I
understand it. The page this error came up on does have a session_start() at
the beginning but doesn't actually call any session variables. It does
extract the visitor's username from a previously set cookie to see if
they're logged in, but it references that as $_COOKIE['username'] which as
far as I understand is legitimate. It doesn't use any uninitialized
variables.
Any ideas?
Lynna
--
Resource Centre Database Coordinator
Gallery 44: www.gallery44.org
Database Project: www.gallery44db.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: lynna@gallery44.org
Subject: Re: Strange warning message
In-Reply-To: <BD2D7C46.1664%lynna@gallery44.org>
References: <BD2D7508.1661%lynna@gallery44.org> <BD2D7C46.1664%lynna@gallery44.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox