Re: php + postgresql - Mailing list pgsql-general

From Tino Wildenhain
Subject Re: php + postgresql
Date
Msg-id 488B0385.9050207@wildenhain.de
Whole thread Raw
In response to Re: php + postgresql  (Aarni Ruuhimäki <aarni@kymi.com>)
List pgsql-general
Hi,

Aarni Ruuhimäki wrote:
> On Friday 25 July 2008 15:33, you wrote:
>> I would avoid that in favour of using $HOME/.pgpass
>>
>> http://www.postgresql.org/docs/8.1/interactive/libpq-pgpass.html
>>
>> HTH
>> Tino
>
> Hi,
>
> Quite right you are. Or something like this?
>
> require("/eg/unknown_path/deep_somewhere_else/dbconnect_app_name.php")

Well this would be reinventing the wheel and also can really
cause accidently checking that into your version control system
which should be avoided for credentials holding files.

T.


Attachment

pgsql-general by date:

Previous
From: Zoltan Boszormenyi
Date:
Subject: Re: PostgreSQL vs FreeBSD 7.0 as regular user
Next
From: Tino Wildenhain
Date:
Subject: Re: php + postgresql