11-28-2007, 05:14 PM
|
#9 (permalink)
|
|
The Contributor
Join Date: Nov 2007
Posts: 32
Thanks: 5
|
Quote:
Originally Posted by Tanax
And what you can do then, is to make a script that loads the database name from a .txt file
And then another script that allows you to change that value.
So your $tanaxia['config']['database']['data'] would be the value of the string in the .txt file ;)
|
Puting the database name or any database information in any file that is accessible to users somehow is not a good idea.
If you put the database name or any information like that in a text file make sure with .htaccess (for apache) or otherway (for other servers) that the file is not accessible to users.
|
|
|