[thelist] php settings for DB access

Andrew Maynes andrew at humanbehaviour.co.uk
Wed Aug 14 13:54:01 CDT 2002


from now on I will definately be doing this :)

Andrew
Andrew Maynes wrote:
> sorry I meant .inc files with user name and passwords included.  I did a
search
> last night and I came a cross at least 5 files with this type of information,
I
> was shocked.
>
> Andrew
   Rename them .inc.php  and change them to include("bla.inc.php"); on
the pages that include them or put them in a protected directory.
Then put the path in include("/path/to/bla.inc"); on the pages that use
them.

Gary

--
Gary Bland
StarChaser Web Architecture
http://star-chaser.com
Building Tomorrow's World Today



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/02




More information about the thelist mailing list