Jump to content

question about $SERVER['PHP_AUTH_USER'], moving from Windows IIS to Apache


arianhojat

Recommended Posts

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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.