Обсуждение: PHP & Postgres

Поиск
Список
Период
Сортировка

PHP & Postgres

От
"dr_sad(surguttel)"
Дата:
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?

Thank You

--
With respect, Andrey Sergeev


Re: PHP & Postgres

От
"Josh Berkus"
Дата:
Dr. Sad,

> 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:

I suggest that you join the PGSQL-PHP mailing list.

-Josh Berkus

______AGLIO DATABASE SOLUTIONS___________________________
                                       Josh Berkus
  Complete information technology      josh@agliodbs.com
   and data management solutions       (415) 565-7293
  for law firms, small businesses        fax 621-2533
    and non-profit organizations.      San Francisco