View Single Post
Old 11-29-2007, 04:58 PM   #15 (permalink)
bdm
The Acquainted
Good Samaritan 
 
Join Date: Nov 2007
Posts: 127
Thanks: 14
bdm is on a distinguished road
Default

Quote:
Originally Posted by Wildhoney View Post
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 . :)
bdm is offline  
Reply With Quote