11-29-2007, 04:58 PM
|
#15 (permalink)
|
|
The Acquainted
Join Date: Nov 2007
Posts: 127
Thanks: 14
|
Quote:
Originally Posted by Wildhoney
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 up with the htaccess file configuration in order to consider such an approach, that way you can prevent access to the INI file.
|
True.
Guess in that case you could tell your htaccess file to redirect any requests to *.ini . :)
|
|
|
|