how can i add my database password in a seperate file for my website instead of writing them in my source code like this:
$this->connection = mysql_connect("localhost","root","samplepassword");
$db_select = mysql_select_db("mydb",$this->connection);
to make it secure but i don't know how to mention them in my file:
this is seperated file:
<files mypasswdfile>
order allow,deny
</files>
where to put passwords and how should be the syntax?