How to read Windows logged in username with PHP/IIS

前端 未结 1 1422
Happy的楠姐
Happy的楠姐 2020-11-30 03:20

I am running a network. Here I have a domain controller (DC) I just installed IIS6 , PHP and Mysql on it. every thing is working fine.:)

Now I want to bring up a scr

相关标签:
1条回答
  • 2020-11-30 03:54

    If you've set IIS to authenticate users one or more of these should contain the username:

    $_SERVER['LOGON_USER']
    $_SERVER['AUTH_USER']
    $_SERVER['REDIRECT_LOGON_USER']
    $_SERVER['REDIRECT_AUTH_USER']
    
    0 讨论(0)
提交回复
热议问题