Did you have install pgsql.dll in your system directory? and load the extension?
I noticed pg_cmdtuples() is missing, though.
--
Yasuo Ohgaki
""Jerome O Macaranas"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
- [PHP-DB] Connecting to a remote postgres database Jerome O Macaranas
- [PHP-DB] Connecting to a remote postgres database Yasuo Ohgaki
- [PHP-DB] Connecting to a remote postgres database Jerome O Macaranas
- Re: [PHP-DB] Connecting to a remote postgres datab... Rasmus Lerdorf
- Re: [PHP-DB] Connecting to a remote postgres datab... Yasuo Ohgaki