Re: Config with xml and dsn info
| From: | Jeff MacDonald | Date: | Mon, 23 May 2005 14:28:34 +0000 |
| Subject: | Re: Config with xml and dsn info | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-19349@lists.php.net to get a copy of this message | ||
On Mon, May 23, 2005 at 04:09:09PM +1000, Dan Rossi wrote:
>
[..snipped..]
> Ok i store the dsn connection information to the database in my xml
> config. This connection info is then readable, its ok for an intranet
> app but for a public website maybe not, what could be the best way
> while still being able to store my configs in xml ?
>
either put the xml file outside of DocumentRoot or use .htaccess to block
it.
HTH
regards,
J