FAQ
Search our FAQs for the most common issues to your problems.
Share

How to grab windows NT Login from windows server by using PHP code?

Windows NT domain login session can only be visible by an IIS server with ASP enabled. This IIS server has to be part of the windows domain controller and the user running the IIS has to be provided the administrator rights in order to see the NT domain login session.

 
Using the following ASP server variable Request.ServerVariables("LOGON_USER") will be able to see the user that is currently logon. This value will only be visible to the client browser that has been authenticated by the local NT domain controller and made available via the local IIS server.
 
For the above reason, you cannot get the logon user directly from PHP. You have to setup an IIS server with the above criteria fulfilled. Then you have to redirect (using a PHP script) your client browser to the custom ASP script that you write on the IIS server and perform a round trip redirection where the custom ASP script will include logon user information back to the PHP script.

MXAE Release News

MXAE 2.7.5 Released
We would like to announce the immediate availability of MXAE 2.7.5. This release focuses on...




Tips & Tricks

CSS Conditional Comments on MXAE
Conditional comments make it easy for developers to take advantage of the enhanced features...




MXAE Free Hosting

We are offering FREE hosting on MXAE platform with no string attached. You can use it as a development or demo hosting for your company. You can also use it to build your own website or host your client website.