| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
  [2011-07-22 07:31 UTC] unasivp at hotmail dot com
 Description:
------------
function getenv() return NULL string.
Test script:
---------------
<?php
echo "[".getenv("username")."]<br>";
?>
Expected result:
----------------
[]
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 13:00:02 2025 UTC | 
I found in some website say the function getenv("username") return windows login user name.