Sr. PHP Programmer Question:

How will you get environment variables in PHP?

Senior PHP Programmer Interview Question
Senior PHP Programmer Interview Question

Answer:

PHP provides a function getenv() to access the value of all the environment variables.


Previous QuestionNext Question
Explain the importance of the function htmlentities?How will you include the content of a PHP file into another PHP file?