Re: Connecting to a remote postgres database

From: Date: Thu, 19 Apr 2001 09:43:10 +0000
Subject: Re: Connecting to a remote postgres database
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-8705@lists.php.net to get a copy of this message
I use binary from www.php4win.de with Apache/W2K for testing codes under my PC. Since php_pgsql.dll does not have pg_cmdtuples(), PostgreSQL/Windows combination is not suitable for not only production use but also testing. Did anyone compile php_pgsql.dll with pg_cmdtuples()? If there is pg_cmdtuples(), it would be really nice. -- Yasuo Ohgaki ""Jerome O Macaranas"" <jo_macaranas@edsamail.com.ph> wrote in message news:f075d36ded781eb1433cac6d61ca3f73@news.php.net... > 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 > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.db (#8705) next »