arianhojat Posted March 14, 2007 Share Posted March 14, 2007 right now Integrated Windows Authentication is set to on on IIS, and php seems to know who you are when you login, so if u login to the network as user 'user1012', $SERVER['PHP_AUTH_USER'] will hold 'user1012', and from there I put in more info about the user into a session so various pages on the intranet can customize for him then. if IIS, turns this checkbox off, then i cant do this as $SERVER['PHP_AUTH_USER'] will hold no value... So i was wondering if we move to apache on unix or even apache on windows, how will i enabled this Windows authentication feature? does something have to be turned on in apache, so php knows the user? or some new php i have to code in my session.php to make it know who user is logged into network as? Thanks in advance Link to comment https://forums.phpfreaks.com/topic/42635-question-about-serverphp_auth_user-moving-from-windows-iis-to-apache/ Share on other sites More sharing options...
only one Posted March 14, 2007 Share Posted March 14, 2007 it should work no matter what, its still taking the info of their comp... Link to comment https://forums.phpfreaks.com/topic/42635-question-about-serverphp_auth_user-moving-from-windows-iis-to-apache/#findComment-206863 Share on other sites More sharing options...
arianhojat Posted March 14, 2007 Author Share Posted March 14, 2007 I thought it takes it off the server, somehow server knows who yuo are.? are you sure? i think we tested by turning off Windows Authentication today and it broke our pages. Link to comment https://forums.phpfreaks.com/topic/42635-question-about-serverphp_auth_user-moving-from-windows-iis-to-apache/#findComment-206878 Share on other sites More sharing options...
arianhojat Posted March 14, 2007 Author Share Posted March 14, 2007 bump Link to comment https://forums.phpfreaks.com/topic/42635-question-about-serverphp_auth_user-moving-from-windows-iis-to-apache/#findComment-206989 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.