Write the PHP expression that loads a database password from an environment variable instead of hardcoding it.
A config file currently has the production database password written directly into the source code.
Ready to try it?
Create a free account and subscribe to take "Write Environment-Based Secret Loading". Earn 90 XP and track your internship progress.
Already have an account? Sign in