Received: from gecko.statsol.com (gecko.statsol.com [198.11.51.133]) by hub.org (8.8.8/8.7.5) with ESMTP id SAA24092; Wed, 24 Jun 1998 18:04:54 -0400 (EDT) Received: from statsol.com (oak-alg-gw4-31.ncal.verio.com [207.21.138.222]) by gecko.statsol.com (8.9.0/8.9.0) with ESMTP id SAA00192; Wed, 24 Jun 1998 18:04:33 -0400 (EDT) Message-ID: <3591781F.D9177F1A@statsol.com> Date: Wed, 24 Jun 1998 15:05:19 -0700 From: Steve Doliov Organization: Statistical Solutions X-Mailer: Mozilla 4.03 [en] (Win95; I) MIME-Version: 1.0 To: pgsql-novice@postgresql.org CC: pgsql-interfaces@postgresql.org Subject: PHP problem solved Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit My PHP interface now works, and there was only one change i needed to make to my script. pg_Connect("host=gecko user=... dbname..); ^^^^^ earlier i was putting down localhost here. that kept getting rejected with auth failures. now that i put down the host name, it's happy. i woulda thought this wasn't necessary and perhaps there is still somehting wrong with my pg_hba.conf, but now at least crypt and password authentication work. hope this helps anyone else having the same problems.