Received: from newman.hartehanks.com (newman.hartehanks.com [204.89.158.3]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f6QHSNf32221; Thu, 26 Jul 2001 13:28:23 -0400 (EDT) (envelope-from Timothy_Maguire@hartehanks.com) Received: from oldman.hartehanks.com (oldman [194.104.30.176]) by newman.hartehanks.com (8.11.2/8.11.2) with ESMTP id f6QHWhL02218; Thu, 26 Jul 2001 13:32:43 -0400 Received: from linmail.hartehanks.com (unverified) by oldman.hartehanks.com (Content Technologies SMTPRS 4.2.1) with ESMTP id ; Thu, 26 Jul 2001 13:16:26 -0400 Subject: Re: user authentications To: Cc: pgsql-php@postgresql.org, pgsql-php-owner@postgresql.org X-Mailer: Lotus Notes Release 5.0.6a January 17, 2001 Message-ID: From: Timothy_Maguire@hartehanks.com Date: Thu, 26 Jul 2001 13:24:55 -0400 X-MIMETrack: Serialize by Router on linmail/Harte-Hanks(Release 5.0.8 |June 18, 2001) at 07/26/2001 01:24:55 PM MIME-Version: 1.0 Content-type: text/plain; charset="us-ascii" X-Archive-Number: 200107/27 X-Sequence-Number: 484 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 .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