abhishekchess1 Posted July 2, 2021 Share Posted July 2, 2021 Hi, I come to know that we can use secret vars of out GIT Project to store password. But can you tell me how can we access it in PHP and how I can get same data at localhost xamp server? Thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/313026-get-github-secret-env-variable-value-in-php/ Share on other sites More sharing options...
gw1500se Posted July 2, 2021 Share Posted July 2, 2021 Passwords should be stored securely in a database (MySQL). 1 Quote Link to comment https://forums.phpfreaks.com/topic/313026-get-github-secret-env-variable-value-in-php/#findComment-1587746 Share on other sites More sharing options...
requinix Posted July 2, 2021 Share Posted July 2, 2021 You can access environment variables that you did not create on your own with $_ENV or getenv(). Quote Link to comment https://forums.phpfreaks.com/topic/313026-get-github-secret-env-variable-value-in-php/#findComment-1587759 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.