Connecting to a remote postgres database

From: Date: Thu, 19 Apr 2001 06:47:48 +0000
Subject: Connecting to a remote postgres database
Groups: php.db 
Request: Send a blank email to php-db+get-8697@lists.php.net to get a copy of this message
using PHP 4.0 under Win2K IIS 5.0 got this error -> Fatal error: Call to undefined function: pg_connect() in C:\Inetpub\PHPwwwroot\index.php on line 17 is there something i have to load...... why undefined function? code: $dbname = pg_connect ("host=computer.test.com port=5432 dbname=test user=user password=password"); echo ("DATABASE NAME = $dbname"); pg_close ("$dbname"); thanks in advance __________________________________ www.edsamail.com

« previous php.db (#8697) next »