- Feb 22, 2001
- 3,044
- 544
- 136
Both of my "Learn PHP + MySQL" books describe this:
$con = mysql_connect("localhost","mysql_user","mysql_pwd");
Is it considered normal to put the credentials in the .PHP file, or is there a "safer" place to put them?
$con = mysql_connect("localhost","mysql_user","mysql_pwd");
Is it considered normal to put the credentials in the .PHP file, or is there a "safer" place to put them?
