html - How to get currently logged on windows username in PHP without windows authentication -


how current logged windows username php without windows authentication?

i have tried below functions before, display server's username

<?php  echo getenv("homedrive") . getenv("homepath");  echo 'current script owner: ' . get_current_user();  echo getenv("username");   echo    $_server['logon_user'];      echo $_server['auth_user'];     echo $_server['redirect_logon_user'];     echo $_server['redirect_auth_user'];  ?> 


Comments

Popular posts from this blog

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -