[ADMIN] permission denied from PHP3 - Mailing list pgsql-admin

From Rija RAKOTOMALALA
Subject [ADMIN] permission denied from PHP3
Date
Msg-id 35EB8E0E.54F09252@online.mg
Whole thread Raw
List pgsql-admin
Hi here,
I have postgres 6.2.3 ; it works fine,but I 'd like to acces it from a
web page using the PHP interface.

In PHP file I have
$conn=pg_Connect("www.myhost.com","5432","","","mydatabase");
pg_Exec($conn,2Select * from table);

I get permission denied while executing the query (the pg_Connect
succes) with the user "nobody".User nobody was added with adduser.
In pg_hba.conf I have

host     all     0.0.0.0     0.0.0.0     trust

My question is how to get permission to this database with nobody and in
wich file are  the user permissions?

Thanks.
--
Rija RAKOTOMALALA
Stagiaire chez
CREAPRO
Amboditsiry Tel 22-406-85
MADAGASCAR



pgsql-admin by date:

Previous
From: Mateus Cordeiro Inssa
Date:
Subject: FATAL 1: btree: cannot split if start (2) >= maxoff (2)
Next
From: "S.Ramaswamy"
Date:
Subject: How to transfer data from FoxPro data to Postgresql?