RE: [PHP] Log In
| From: | John W. Holmes | Date: | Thu, 06 Mar 2003 04:17:40 +0000 |
| Subject: | RE: [PHP] Log In | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-138410@lists.php.net to get a copy of this message | ||
>> Is there a handy function in PHP that I can use to retrieve the users
>> Windows Log in? We are creating an application that will allow users
to
>> add comments to a mysql database, and we would like to be able to
track
>> who is putting the comments into the table, preferably with their
windows
>> log in.
> No.
Umm... Yes. $_SERVER['LOGON_USER'] is sometimes set, depending on your
web server setup. If you're using IIS, I think you have to enable NT
level access control for the site, instead of anonymous access.
Good luck.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/