I am new at web programming. I registered to a MySQL server. I have to use a code in my PHP file like this :
Code:
mysql_connect("DATABASEIP", "USERNAME", "PASSWORD") or die("Can't connect to database.");
But this method doesn't seem to be safe, because anybody can download this PHP file using a download manager program.
Is there any way to connect my database hiding my password?