Re: php + postgresql

From: Tino Wildenhain <tino(at)wildenhain(dot)de>
To: aarni(at)kymi(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: php + postgresql
Date: 2008-07-26 10:59:17
Message-ID: 488B0385.9050207@wildenhain.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tino Wildenhain 2008-07-26 11:18:31 Re: php + postgresql
Previous Message Zoltan Boszormenyi 2008-07-26 08:10:35 Re: PostgreSQL vs FreeBSD 7.0 as regular user