Environment variables exist outside of your code as part of your server environment. They can significantly automate running your script/applications and make it more secure. For instance, instead of manually changing the user name variable when you run a script on a different machine, you can use an environment variable that returns the corresponding value. […]