You can pass it through the pg_connect function.
http://www.php.net/manual/en/function.pg-connect.php
That would lead to my question concerning this. Which is better,
pg_connect or pg_pconnect? I seem to get better results when I use
pconnect when the db is on a different server than the web server but when
they are both on the same server connect works fine. Any suggestions?
Tim.
Timothy P. Maguire
Web Developer II
Harte-Hanks
978 436 3325
Jess Emerson Uy
<jess@cersa.admu.edu To: <pgsql-php@postgresql.org>
.ph> cc:
Sent by: Subject: user authentications
pgsql-php-owner@post
gresql.org
07/26/01 01:15 PM
Please respond to
jess
Hi guys,
I was wondering if someone tried to do user authentication already using
the user and password combination of the database users instead of storing
them in a table with username and password? If so, can someone explain
how it was done?
--------------------------------------
Jess Emerson L. Uy
Ateneo Cervini-Eliazo Networks (ACENT)
email : j.uy@technologist.com
web : http://cersa.admu.edu.ph/
phone : 63(2)4266001-5925/5904
My mind is a potato field ...
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org