📜  php 从 iis 获取用户名 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:35.128000             🧑  作者: Mango

代码示例1
//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']