Re: $_SERVER['SERVER_ADDR'] ; returns wrong value "::1"

From: Postgres Admin <postgres(at)productivitymedia(dot)com>
To: Bill Hernandez <pgsql(at)mac-specialist(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: $_SERVER['SERVER_ADDR'] ; returns wrong value "::1"
Date: 2005-06-16 12:05:19
Message-ID: 42B16AFF.4020403@productivitymedia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

::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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Postgres Admin 2005-06-16 12:09:56 Re: PostgreSQL and Delphi 6
Previous Message Lim Swee Nyin 2005-06-16 12:03:32 No Space Left On Device