Hi,
Quote
Patabugen
The actual issue which caused me to look into this is my WAMP stack which appears to be sharing get/putenv variables between simultaneous processes. So if I load my page 10 times the first would work, but all the other requests would fail because $_ENV['DB_HOST'] is not set because phpdotenv saw it in getenv and then did not set the $_ENV (which I use).
Entirely normal operation.
It is the opposite that would be a huge security hole.
If it worked as you would like, it would mean that a user who logs on a web page could have access to all data of other users connected to the same page.
Fortunately, it does not work like that.
---------------------------------------------------------------
Documentation Apache -
Documentation PHP -
Documentation MySQL -
Wampserver install files & addonsEdited 1 time(s). Last edit at 10/17/2016 03:19PM by Otomatic.