X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6F6D6D1B182 for ; Wed, 28 Jul 2004 20:55:55 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 21354-10 for ; Wed, 28 Jul 2004 23:55:48 +0000 (GMT) Received: from beta.interspire.com (unknown [210.215.130.98]) by svr1.postgresql.org (Postfix) with ESMTP id 10B3BD1B174 for ; Wed, 28 Jul 2004 20:55:45 -0300 (ADT) Received: from [192.168.0.13] (helo=chris) by beta.interspire.com with esmtp (Exim 3.35 #1 (Debian)) id 1Bpy1s-00019G-00; Thu, 29 Jul 2004 09:40:12 +1000 From: "Chris" To: "'Lynna Landstreet'" , Subject: Re: Strange warning message Date: Thu, 29 Jul 2004 09:55:33 +1000 Message-ID: <000001c474fe$64d82aa0$0d00a8c0@chris> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/36 X-Sequence-Number: 2861 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@postgresql.org [mailto:pgsql-php-owner@postgresql.org] On Behalf Of Lynna Landstreet Sent: Thursday, July 29, 2004 5:53 AM To: pgsql-php@postgresql.org Subject: Re: [PHP] Strange warning message 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 ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@postgresql.org so that your message can get through to the mailing list cleanly