Short and simple... I've noticed that Dreamweaver puts the DB connection code directly in the php files. How secure is it to store the database connection username/password in every file when a db connection is needed when displaying data directly from the database? I know that a browser won't display the username/password or any of the connection code, but shouldn't the connection data be stored in a seperate file that is not that easily accessible?
Any reply is appreciated! :) thanks in advance