Reading an environment variable, $_ENV['USER'] : _ENV « Utility Function « PHP






Reading an environment variable, $_ENV['USER']

 
<?php
$name = $_ENV['USER'];
?>
  
  








Related examples in the same category

1.Setting Environment and Configuration Variables
2.Reading Environment and Configuration Variables
3.Reading another environment variable,$_ENV['HOME']