Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Windows Authentication IIS7 PHP gethostbyaddr($_SERVER['AUTH_USER'])

$
0
0

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 :)


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>