[thelist] php settings for DB access

Andrew Maynes andrew at humanbehaviour.co.uk
Wed Aug 14 07:34:01 CDT 2002


Thank you

Andrew



-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Rich Gray
Sent: Wednesday, August 14, 2002 01:26
To: thelist at lists.evolt.org
Subject: RE: [thelist] php settings for DB access


Andrew

You could move the connection info outside the web document tree and include
it in your php scripts using an absolute path...e.g.

Web server root is /home/httpdocs so you put config file in /home/phpconfigs
and your scripts include('/home/phpconfigs/whatever.php');
NB If you have to run PHP with open_basedir and safe_mode  enabled then this
won't work

My 0.02p
Rich
-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Andrew Mesnay
Sent: 14 August 2002 10:12
To: Thelist at Lists. Evolt. Org
Subject: [thelist] php settings for DB access

---
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