www.webdeveloper.com
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2004
    Posts
    50

    Building a web application that uses a username and password stored "elsewhere"

    I'm writing a web application using PHP. The web application requires a username and password that was already entered and vaildated when the user logged into the computer. Meaning, the username and password that the user typed in to log into the computer is the same username and password required in the web application. I'm trying to make it so when the user logs into the computer, the user doesn't have to type his or her username and password again since it was already typed in.

    I was wondering if there is a way that PHP could retrieve the username and password that was already typed in by the user. This is on Windows XP machines.

    Any help is welcome! If anyone knows of any resources, that will be helpful as well!!

    Thanks,
    Dan

  2. #2
    Join Date
    Apr 2005
    Location
    Bathurst, NSW, Australia
    Posts
    3,357
    No. PHP is server side language. You cannot obtain this information through any web based languages or script - that is except maybe Active X (but saying that makes me shivvvver!).

    If you can have the users log onto a domain or active directory you can use LDAP.
    The answer to all these questions is Google.
    Give your thread a useful title | Webdeveloper.com Acceptable Use Policy
    Something wrong with your code? Validate first! |

    No Australian Net Censorship! The Australian government is wanting to follow in China's footsteps and "provide" nationwide Internet censorship, don't let them!

  3. #3
    Join Date
    Apr 2004
    Posts
    50
    Thanks a lot for your help.

    What is LDAP? How can I learn about it and how does it relate to PHP, or anything web related.

    -Dan

  4. #4
    Join Date
    Apr 2005
    Location
    Bathurst, NSW, Australia
    Posts
    3,357
    Well LDAP relates to PHP because it is a PHP function.
    The answer to all these questions is Google.
    Give your thread a useful title | Webdeveloper.com Acceptable Use Policy
    Something wrong with your code? Validate first! |

    No Australian Net Censorship! The Australian government is wanting to follow in China's footsteps and "provide" nationwide Internet censorship, don't let them!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center



Recent Articles