Reading Environment and Configuration Variables : _ENV « Utility Function « PHP
- PHP
- Utility Function
- _ENV
Reading Environment and Configuration Variables
<?php
echo $_ENV['ProgramFiles'] . "<br />";
echo $_ENV['COMPUTERNAME'] . "<br />";
echo getenv("COMPUTERNAME") . "<br />";
echo ini_get ("post_max_size") . "<br />";
print_r (ini_get_all());
?>
Related examples in the same category