pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Timothy_Maguire@hartehanks.com
To: jess@cersa.admu.edu.ph
Cc: pgsql-php@postgresql.org
Cc: pgsql-php-owner@postgresql.org
Subject: Re: user authentications
Date: Thu, 26 Jul 2001 13:24:55 -0400
Message-ID: <OFFAF0A09B.7D6D83AE-ON85256A95.005F7611@hartehanks.com> (raw)


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






view thread (3+ messages)  latest in thread

Message-ID: <OFFAF0A09B.7D6D83AE-ON85256A95.005F7611@hartehanks.com>
Permalink:  ../OFFAF0A09B.7D6D83AE-ON85256A95.005F7611@hartehanks.com/
Also on:    postgresql.org/message-id/OFFAF0A09B.7D6D83AE-ON85256A95.005F7611@hartehanks.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: Timothy_Maguire@hartehanks.com, jess@cersa.admu.edu.ph, pgsql-php-owner@postgresql.org
  Subject: Re: user authentications
  In-Reply-To: <OFFAF0A09B.7D6D83AE-ON85256A95.005F7611@hartehanks.com>
  References: <OFFAF0A09B.7D6D83AE-ON85256A95.005F7611@hartehanks.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox