Windows NT login authentication in php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ragunit1983
    New Member
    • Feb 2008
    • 1

    Windows NT login authentication in php

    Hi,
    Please share your ideas about,
    How to implement windows NT login authentication in php..

    i need to pull the windows NT login username to my php application


    i have tried some php classes but i failed to create authentication


    Thanks in advance,
    Ragu
  • harshmaul
    Recognized Expert Contributor
    • Jul 2007
    • 490

    #2
    Hi, i've done this in dotnet, but for my PHP i only use lamp.

    BUT, try this.....


    Code:
    $username = $_SERVER['LOGON_USER'];

    Comment

    • abhishektiwari
      New Member
      • Feb 2008
      • 4

      #3
      Originally posted by ragunit1983
      Hi,
      Please share your ideas about,
      How to implement windows NT login authentication in php..

      i need to pull the windows NT login username to my php application


      i have tried some php classes but i failed to create authentication


      Thanks in advance,
      Ragu
      Hi Ragu,
      r u talking about http authentication ?? if yes read http://in.php.net/manual/en/features.http-auth.php

      abhi

      Comment

      Working...