title: How do I get windows login id from a php script?
body: <p>I have a PHP web application. When a user opens it I need to get the log in id of the windows system. I don't authenticate the user again.</p>
  
  <p>I heard of Active Directory, but I don't want to authenticate the user again. When my web application is opened the username should be captured automatically.</p>
  
  <p>How can I get the log in id in my PHP script? </p>
  
  <p>I also heard of configuring Apache server for mod_ntlm environment and REMOTE_USER variable etc. I don't know all those. Can any one put it very simply so that I can go ahead and configure all those?</p>