From: Postgres Admin <postgres@productivitymedia.com>
To: Bill Hernandez <pgsql@mac-specialist.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: $_SERVER['SERVER_ADDR'] ; returns wrong value "::1"
Date: Thu, 16 Jun 2005 08:05:19 -0400
Message-ID: <42B16AFF.4020403@productivitymedia.com> (raw)
In-Reply-To: <BED67113.D2E5%pgsql@mac-specialist.com>
References: <BED67113.D2E5%pgsql@mac-specialist.com>
::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
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-admin@postgresql.org
Cc: postgres@productivitymedia.com, pgsql@mac-specialist.com
Subject: Re: $_SERVER['SERVER_ADDR'] ; returns wrong value "::1"
In-Reply-To: <42B16AFF.4020403@productivitymedia.com>
References: <BED67113.D2E5%pgsql@mac-specialist.com> <42B16AFF.4020403@productivitymedia.com>
* 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