[thelist] php settings for DB access

Gary Bland Gary at star-chaser.com
Wed Aug 14 13:47:24 CDT 2002


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




More information about the thelist mailing list