[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Where to put PHP database connection info file on RaQ3?
- Subject: Re: [cobalt-users] Where to put PHP database connection info file on RaQ3?
- From: Marco Baurdoux <linux@xxxxxxxxxxxxx>
- Date: Thu Nov 1 02:02:01 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
le 1.12.2001 10:37, Graham Nichols à graham@xxxxxxxxxxxxxxxxxxxxx a écrit :
> Hi,
>
> I need to made a PHP file with database connection (user and password) info,
> and place it on a non web-accessible directory to be used as an 'include'
> file for the main code. Not sure how to pull this off properly, and, as you
> can see, I'm not too embarrassed to ask! If someone could help I'd be very
> grateful to them for filling in some of my ignorance gap (still a huge hole
> to fill :) )
>
> best, Graham
>
>
put the file outside of the web directory and create a file with only read
privileges for the owner of the PHP script !!