How to get windows auth user
Posted: Tue May 23, 2006 3:10 am
Hi all,
I am using PHP apache running windows. My requirement is how to get remote user. If PHP is running on windows and IIS I can get remote user by following steps
1) Right click on Mycomputer select management.
2) Expand Service and Application
3) Select default website(IIS) and right click on it select properties
4) Select directory security tab and click on edit botton
5) Uncheck access to anonymouse user and check integrated windows authentication
then we can get remote user using $_SERVER['AUTH_USER'].
My question is how to get same thing with window and apache
I am using PHP apache running windows. My requirement is how to get remote user. If PHP is running on windows and IIS I can get remote user by following steps
1) Right click on Mycomputer select management.
2) Expand Service and Application
3) Select default website(IIS) and right click on it select properties
4) Select directory security tab and click on edit botton
5) Uncheck access to anonymouse user and check integrated windows authentication
then we can get remote user using $_SERVER['AUTH_USER'].
My question is how to get same thing with window and apache