> I'm building a PHP app for use on our intranet - all MS (Clients will be
95,
> NT, or 2000).
>
> Is there a way to retrieve the clients username when they access app (i.e.
> the username they used to access the network)?
Almost for sure, no.
Basically, if it's being made available to PHP, it will appear in <?php
phpinfo();?>
If it's not in phpinfo(), that's because your server didn't provide it.
The Windows login username has absolutely no connection whatsoever to their
Internet access AFAIK.
Thus, it's never even given to the browser, much less to the web-server, and
thusly not to PHP.
There *MIGHT* be a DLL out there that you could use to call the Windows
functions and take a login from the web-browser and validate against the
Windows users... I vaguely recall a thread about this, but dunno what the
upshot was.
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]