imported_Dynamite
Member
Right now on my website, when I want to connect to a DB, I have the login variables stored on every single PHP file on my site.
Is there any way to store the DB login information in a separate file and then anytime the the PHP file needs to connect to the DB, it accesses the external file for the information?
Is there any way to store the DB login information in a separate file and then anytime the the PHP file needs to connect to the DB, it accesses the external file for the information?