Received: from mout01.kundenserver.de (mout01.kundenserver.de [195.20.224.132]) by postgresql.org (Postfix) with ESMTP id 46E5F4769AB for ; Fri, 12 Apr 2002 06:31:13 -0400 (EDT) Received: from [172.19.20.61] (helo=mrvdomng0.kundenserver.de) by mout01.kundenserver.de with esmtp (Exim 2.12 #2) id 16vyKp-0000rc-00 for pgsql-php@postgresql.org; Fri, 12 Apr 2002 12:31:15 +0200 Received: from [213.7.13.184] (helo=zwerg98) by mrvdomng0.kundenserver.de with smtp (Exim 3.22 #2) id 16vyKo-00050o-00 for pgsql-php@postgresql.org; Fri, 12 Apr 2002 12:31:14 +0200 Message-ID: <001101c1e20d$4a733140$aec1fea9@zwerg98> From: "Cornelia Boenigk" To: "PG+PHP" References: <008401c1e1a8$95f1ed60$aec1fea9@zwerg98> <000a01c1e1b5$ec1e8d80$0a00a8c0@win2000> Subject: Re: PostgreSQL+PHP+Win98 Date: Fri, 12 Apr 2002 12:30:09 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Archive-Number: 200204/33 X-Sequence-Number: 1057 Hi Simeo You helped me to find the fault - it is working now;-) I haven't set all connection options. It seems that PostgreSQL needs a nearly complete connection string when running under Windows while running under Linux it only needs the name of the database. > It would be a nice idea to put the content of line 19 ;-)) Yes, you are right, sorry. $host = "localhost"; $port = "5432"; $user = "zwerg98"; $password = ""; $dbname = "mz"; // eine Verbindung zum Datenbankserver aufbauen $conn = pg_connect("dbname=$dbname user=$user port=$port host=$host"); <-- Line 19 Regards Conni