Chris wrote:
jim white wrote:
I am running several web sites on one server, each of which connects
to a different Postgresql database. I use some include files to load
functions and classes. If I put pg_connect at the start of the
include file, then sometimes I do not connect to the correct da
jim white wrote:
I am running several web sites on one server, each of which connects to
a different Postgresql database. I use some include files to load
functions and classes. If I put pg_connect at the start of the include
file, then sometimes I do not connect to the correct database from
f
I am running several web sites on one server, each of which connects to
a different Postgresql database. I use some include files to load
functions and classes. If I put pg_connect at the start of the include
file, then sometimes I do not connect to the correct database from
functions in a clas
Hi all, i have a question, i have a php file with all my class to
connect into a postgresql db and i'm using the pg_connect in this form:
pg_connect("192.168.1.100","","","",$dbase);
but when i have 8 or 10 users inserting data the db response is very
slow, is problem in the pg_connect?, all ppl
I was using PostgreSQL 7.1.3 before, and I have upgraded PostgreSQL to 7.2.1
in these days.
But after I upgraded the PostgreSQL server, I cannot connect it by the PHP
scripts.
It shows nothing , not even error message telling me what' going wrong?
Could anyone tell me how to solve this problem
Hi,
I could solve part of the problem by creating a user and
database called 'www-data'. The new question is how can I
connect to an arbitrary database? (This seems to be a
configuration problem for me.) Since I have more sites on
the same server, I really need more db-s.
My previous letter was:
Hi,
I try to connect to a PostgreSQL database from my php
script, and I get the following error:
Warning: Unable to connect to PostgreSQL server: FATAL 1:
Database "www-data" does not exist in
the system catalog. in
/home/lao/proj/hajnalcsillag/www/classes/DBConnection.php on
line 10
The code i