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

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 (view raw or flat)
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

pgsql-admin by date

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

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