>> 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/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php