Hi!
When I connect to mysql through php, I use something like this:
mysql_connect ("mysql.mypage.com","my_username","password") or die("" . mysql_error());
mysql_select_db("database");
How can I hide the password from the source file? Shall I store the password in a folder where no one except from me has permission to read the file?
Something like:
include("safe/password.php");
mysql_connect ("mysql.mypage.com","my_username","$password_variable") or die("" . mysql_error());
mysql_select_db("database");
?