| 
 | getenvGets the value of an environment variable Description
   string getenv
    ( string  $varname[, bool$local_only= false
  ] )Gets the value of an environment variable. You can see a list of all the environmental variables by using phpinfo. Many of these variables are listed within » RFC 3875, specifically section 4.1, "Request Meta-Variables". Parameters
 
 Return Values
   Returns the value of the environment variable
    NotesWarning
    
    If PHP is running in a SAPI such as Fast CGI, this function will 
    always return the value of an environment variable set by the SAPI, 
    even if putenv has been used to set a local 
    environment variable of the same name. Use the  Examples
 Example #1 getenv Example 
<?php |