Received: from post.webmailer.de (natpost.webmailer.de [192.67.198.65]) by postgresql.org (Postfix) with ESMTP id 984294758EF for ; Sun, 24 Mar 2002 10:24:15 -0500 (EST) Received: from eumel.yoo.net (p508589A7.dip.t-dialin.net [80.133.137.167]) by post.webmailer.de (8.9.3/8.8.7) with ESMTP id QAA18055 for ; Sun, 24 Mar 2002 16:24:19 +0100 (MET) Received: by eumel.yoo.net (Postfix on SuSE Linux 7.2 (i386), from userid 500) id 23DC11262C; Sun, 24 Mar 2002 16:34:54 +0100 (CET) Date: Sun, 24 Mar 2002 16:34:54 +0100 From: Thorsten Haude To: PostgreSQL PHP ML Subject: Re: Unknown Host in pg_connect() Message-ID: <20020324153454.GB3485@eumel.yoo.net> Mail-Followup-To: PostgreSQL PHP ML References: <20020324124155.GH981@eumel.yoo.net> <002a01c1d345$929c3740$c80ba8c0@sabex.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002a01c1d345$929c3740$c80ba8c0@sabex.com> User-Agent: Mutt/1.3.24i X-Warning: Email may contain unsmilyfied humor and/or satire. Keywords: Das Bundeskanzleramt ist =?iso-8859-15?Q?m?= =?iso-8859-15?Q?it_Sicherheit_ein_sch=F6nes_Geb=E4ude=2E?= Organization: Ministry of Information, Department of Records X-Archive-Number: 200203/44 X-Sequence-Number: 1013 Hi, >> I'm trying to connect to PostgreSQL using pg_connect: >> $dbh = pg_connect("host=localhost, dbname=inventory, user=inventoryUser, >password=secret"); It's a simple syntax error, the commas are not required. Thorsten -- The privacy of correspondence, posts and telecommunications shall be inviolable. - Grundgesetz, Article 10, Sec. 1