X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 60E1CD1C4CD for ; Mon, 28 Jul 2003 02:10:11 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 54331-09 for ; Sun, 27 Jul 2003 23:09:16 -0300 (ADT) Received: from themode.com (themode.com [161.58.169.198]) by svr1.postgresql.org (Postfix) with ESMTP id 61BBCD1C4BA for ; Sun, 27 Jul 2003 23:10:05 -0300 (ADT) Received: from localhost (mode@localhost) by themode.com (8.12.9) id h6S2A9tH091479; Sun, 27 Jul 2003 22:10:09 -0400 (EDT) Date: Sun, 27 Jul 2003 22:10:09 -0400 (EDT) From: brew@theMode.com X-X-Sender: mode@themode.com To: pgsql-php@postgresql.org Subject: Re: Accessing Postgres db from apache using PHP In-Reply-To: <001501c354a3$9aee0b40$0301a8c0@Mesa.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/47 X-Sequence-Number: 2159 Bruce...... > In my php code, I have.... I always have to fool around with this to get it right, too. One thing that helps is to get it working using psql first, you may get better error messages. Also you should check pg_hba.conf to make sure postgresql is allowing connections from localhost. brew ========================================================================== Strange Brew (brew@theMode.com) Check out my Musician's Online Database Exchange (The MODE Pages) http://www.TheMode.com ==========================================================================