Most efficient way of storing database configurations?
View Single Post
11-29-2007, 04:58 PM
Join Date: Nov 2007
Originally Posted by
One downside with the INI file approach is that if somebody directly visits that file, it won't be parsed as PHP and thus show the MySQL credentials in all their beauty. You will need to be quite
with the htaccess file configuration in order to consider such an approach, that way you can prevent access to the INI file.
Guess in that case you could tell your htaccess file to redirect any requests to *.ini . :)
View Public Profile
Send a private message to bdm
Find More Posts by bdm