Hi I am hosting a company intranet site on my windows 7 enterprise computer. I am trying to use PHP script to return the user name when a user takes a quiz. I need to get windows authentication working in order for gethostbyaddr($_SERVER['AUTH_USER']) to return a value.
First when I turn windows authentication on the site requires a login but it will not accept my login ID
Second how do I have our active directory server pass user creditionals to the website so no login is needed. I have everything working but gethostbyaddr($_SERVER['AUTH_USER']) and I do not understand windows authentication and how to set it up. Can someone help me :)