Thanks again, Ashley
Red Wingate wrote:
Seen some interesting ways on doing this on the client. Basicly you run a bash script ( on autostart for example ) and pass the login-info which are saved in the enviroment to the server to make sure the user is known by the server as well.
Another way could be to check wether the REMOTE_ADDR has authentificated to the samba-server within a spec. timespan.
Greets, red
[snip]
Can PHP determine the username of the person currently logged into a Windows 2K machine?
[snip]
On the machine running the client (web browser) or the machine running the
server?
On the client, no. At least, I hope not.
On the server... ? Maybe. Maybe if you ran a login script that wrote the
username to a file that PHP read. I can't really think of a clean way of
doing it.
[snip]
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php