11
Hi there.
I remember trying to do this a few years ago. Users on windows machines which autologon into Xoops, which ran on an Apache Linux box.
The problem (not really a problem actually) with PHP is that it is a server side script so you would not be able to run anything on the client to determine usernames etc.
The solution was to use the NTLM module for Apache. Check out
http://modntlm.sourceforge.net/ and Google NTLM and Apache. There were some pitfalls involved and it did require some research.
Another solution would be to write a small program that runs on each client machine (kicked off by a logon script) that would plant the username into an enviroment variable (these can be seen if you type SET from a cmd prompt)
I'd hate to say it, but it is much easier to do using IIS (spit), which supplies these variables.
HTH and good luck.
McNaz.