Skip site navigation (1) Skip section navigation (2)

PHP & Postgres

From: "dr_sad(surguttel)" <dr_sad(at)surguttel(dot)ru>
To: pgsql-novice(at)postgresql(dot)org
Subject: PHP & Postgres
Date: 2002-08-28 02:30:13
Message-ID: 121766086303.20020828083013@surguttel.ru (view raw or flat)
Thread:
Lists: pgsql-novice
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


Responses

pgsql-novice by date

Next:From: Josh BerkusDate: 2002-08-28 03:25:26
Subject: Re: PHP & Postgres
Previous:From: Patrick HatcherDate: 2002-08-27 23:30:55
Subject: Re: Escaping ' in a function

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group