Skip site navigation (1) Skip section navigation (2)

Re: Strange warning message

From: "Chris" <chris(at)interspire(dot)com>
To: "'Lynna Landstreet'" <lynna(at)gallery44(dot)org>,<pgsql-php(at)postgresql(dot)org>
Subject: Re: Strange warning message
Date: 2004-07-28 23:55:33
Message-ID: 000001c474fe$64d82aa0$0d00a8c0@chris (view raw or flat)
Thread:
Lists: pgsql-php
This post might help you...

http://marc.theaimsgroup.com/?l=php-general&m=104202443607420&w=2

(or these -
http://marc.theaimsgroup.com/?l=php-general&r=1&w=2&q=b&s=Your+script+po
ssibly+relies+on+a+session+side-effect ).


-----Original Message-----
From: pgsql-php-owner(at)postgresql(dot)org
[mailto:pgsql-php-owner(at)postgresql(dot)org] On Behalf Of Lynna Landstreet
Sent: Thursday, July 29, 2004 5:53 AM
To: pgsql-php(at)postgresql(dot)org
Subject: Re: [PHP] Strange warning message


on 7/28/04 3:21 PM, Lynna Landstreet at lynna(at)gallery44(dot)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



---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
      message can get through to the mailing list cleanly


In response to

Responses

pgsql-php by date

Next:From: azah azahDate: 2004-07-29 07:16:28
Subject: default timestamp in postresql
Previous:From: Greg StarkDate: 2004-07-28 20:16:10
Subject: Re: [ADMIN] Secure DB Systems - How to

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group