Securing/best practices for config.php file
Posted on 2007-11-16
I am wondering if anyone has some good practices that are secure for using a config.php file to connect to a SQL database.
$l = mysql_connect ( "p50mysql31.secureserver.net" , "xxxx" , "xxxx" ) or die("Error connecting: <br><br>".mysql_error());
mysql_select_db( "xxxx" ) or die("Error getting db: <br><br>".mysql_error());