pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Cornelia Boenigk <poppcorn@cornelia-boenigk.de>
To: PG+PHP <pgsql-php@postgresql.org>
Subject: Re: PostgreSQL+PHP+Win98
Date: Fri, 12 Apr 2002 12:30:09 +0200
Message-ID: <001101c1e20d$4a733140$aec1fea9@zwerg98> (raw)
References: <008401c1e1a8$95f1ed60$aec1fea9@zwerg98>
	<000a01c1e1b5$ec1e8d80$0a00a8c0@win2000>

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





view thread (3+ messages)

Message-ID: <001101c1e20d$4a733140$aec1fea9@zwerg98>
Permalink:  ../001101c1e20d$4a733140$aec1fea9@zwerg98/
Also on:    postgresql.org/message-id/001101c1e20d$4a733140$aec1fea9@zwerg98

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: poppcorn@cornelia-boenigk.de
  Subject: Re: PostgreSQL+PHP+Win98
  In-Reply-To: <001101c1e20d$4a733140$aec1fea9@zwerg98>
  References: <008401c1e1a8$95f1ed60$aec1fea9@zwerg98> <000a01c1e1b5$ec1e8d80$0a00a8c0@win2000> <001101c1e20d$4a733140$aec1fea9@zwerg98>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox