Hi there
What is the best way to securely include your connection details to an app that uses MySQL?
Whilst users will get registered on my app to use it, I have defined a main user that accesses the database and execute php commands using a single username and password and have included the connection details in the app.
On each of my php files I have also included the username and password details to login into the database. The thing is I want to avoid hacking perhaps via the app or via my php scripts though my webserver is not using https.
Any advise anyone?