We are using an external programmer to implement some code, simply to try and distribute the workload. This project is using online MySQL server, also when we are working on the local files. The MySQL login is stored in a php file. When i share the source code, I would prefer not to share the login information before i trust the external programmer. The site will not run properly without the database access.
What is the smartest way to link to the MySQL database?
So far, I tried uploading the config php file to a url and include that. I found that i could echo file_get_contents('$url'), but that did not do the job. The php.ini is set to allowing external url. I did not find any other relevant suggestions.
Any suggestions?
BR, Emil
.inior.envtype file that's kept OUTSIDE OF THE WEB ROOT is absolutely a must.