pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adam Lang <aalang@rutgersinsurance.com>
To: pgsql-php@postgresql.org
Subject: Re: Pool of connections
Date: Thu, 7 Jun 2001 13:49:05 -0400
Message-ID: <01e501c0ef7a$2504e420$330a0a0a@rutgersinsurance.com> (raw)
References: <01318BB7E12DD511B59F000103BC3D4B03E099@TERRA>

As far as I know, pgconnect is the only way you can.

Include your database conenction information in an include file and have
your include directory outside the www-root directory. That way no one can
see it.  The only other way is to purchase zend encoder which will encrypt
the files.

O you could write your own include routine that unecrypts the file and then
includes the reulst.  Then, when you are making includes, you'd have another
program that would take the text and encrypt it.

Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
http://www.rutgersinsurance.com
----- Original Message -----
From: "Carlos Felipe Zirbes" <carlosz@dbserver.com.br>
To: <pgsql-php@postgresql.org>
Sent: Thursday, June 07, 2001 1:11 PM
Subject: [PHP] Pool of connections


>
> Hi.
>
> What is the best way to make connections to pgsql from PHP?
>
> Today I use pg_connect but I dislike having username and password written
in
> plain text in my source. Besides, I would like to be able to limit the
> number of simultaneous connections to pgsql.
>
> Any hint will be apreciated.
>
> TIA,
>
> Carlos Felipe Zirbes
> DBServer Assessoria em Sistemas de Informação
> E-mail: carlosz@dbserver.com.br
> Fone: (51) 342-8055
> Fax: (51) 342-4838
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)




view thread (4+ messages)  latest in thread

Message-ID: <01e501c0ef7a$2504e420$330a0a0a@rutgersinsurance.com>
Permalink:  ../01e501c0ef7a$2504e420$330a0a0a@rutgersinsurance.com/
Also on:    postgresql.org/message-id/01e501c0ef7a$2504e420$330a0a0a@rutgersinsurance.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: aalang@rutgersinsurance.com
  Subject: Re: Pool of connections
  In-Reply-To: <01e501c0ef7a$2504e420$330a0a0a@rutgersinsurance.com>
  References: <01318BB7E12DD511B59F000103BC3D4B03E099@TERRA> <01e501c0ef7a$2504e420$330a0a0a@rutgersinsurance.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