X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 64295528C1 for ; Thu, 16 Jun 2005 09:05:31 -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 25497-04 for ; Thu, 16 Jun 2005 12:05:22 +0000 (GMT) Received: from ns2.instrumentalyst.com (blk-222-55-203.eastlink.ca [24.222.55.203]) by svr1.postgresql.org (Postfix) with ESMTP id 5528852835 for ; Thu, 16 Jun 2005 09:05:21 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ns2.instrumentalyst.com (Postfix) with ESMTP id 57F8F3C0; Thu, 16 Jun 2005 09:04:42 -0300 (ADT) Received: from ns2.instrumentalyst.com ([127.0.0.1]) by localhost (ns2.instrumentalyst.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 61850-05; Thu, 16 Jun 2005 09:04:38 -0300 (ADT) Received: from [192.168.2.4] (pcp842727pcs.beridg01.fl.comcast.net [68.56.170.170]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ns2.instrumentalyst.com (Postfix) with ESMTP id DCD323BD; Thu, 16 Jun 2005 09:04:37 -0300 (ADT) Message-ID: <42B16AFF.4020403@productivitymedia.com> Date: Thu, 16 Jun 2005 08:05:19 -0400 From: Postgres Admin User-Agent: Mozilla Thunderbird 1.0+ (Macintosh/20050615) MIME-Version: 1.0 To: Bill Hernandez Cc: pgsql-admin@postgresql.org Subject: Re: $_SERVER['SERVER_ADDR'] ; returns wrong value "::1" References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at instrumentalyst.com X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.073 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200506/110 X-Sequence-Number: 17865 ::1 is a function of the PHP $_SERVER[''] internal function, not a PostgreSQL problem. It will display ::1 on any database, you program a PHP custom function to call the whole IP address. The real question is that a problem in a production environment? Of note, outside IP addresses will display fine using $_SERVER['']. Good Luck, J