Re: Pool of connections - Mailing list pgsql-php

From Adam Lang
Subject Re: Pool of connections
Date
Msg-id 01e501c0ef7a$2504e420$330a0a0a@rutgersinsurance.com
Whole thread Raw
In response to Pool of connections  (Carlos Felipe Zirbes <carlosz@dbserver.com.br>)
List pgsql-php
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)


pgsql-php by date:

Previous
From: Carlos Felipe Zirbes
Date:
Subject: Pool of connections
Next
From: Carlos Felipe Zirbes
Date:
Subject: RE: Pool of connections