Why don't you use the DB::connect instead?
"dr_sad(surguttel)" wrote:
>
> I've installed Postgres 7.2.2 on Linux SuSE 8.0 Pro.
> >From other server (SuSE 8.0 Pro + Apache 2.0.39 + PHP 4.2.2) I'm trying
> to get access to Postgres database, using PHP-script:
>
> <html>
> <body>
> <? $db = pg_connect(...); ?>
> </body>
> </html>
>
> I've no errors messages both in PHP log and Postgres console, but HTML
> page was been generated this script are stoped on <body> tag. Where
> can I get error messages? That is possible troubles?
>
> Thank You
>
> --
> With respect, Andrey Sergeev
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)