On Wed, 12 Jun 2002, Carl Whittaker wrote: > Ive asked this question in another group with no luck so maybe you guys have > an answer. > > Im looking for a way to detect the clients Win2k network username, im > using Apache2 PHP4.2.1 on a Win2K network with a domain, ive tried > REMOTE_USER and that just prints a hyphen. This whole issue has been > bugging me for a while now ive searched high and low im sure its > possible because a lot of people have said it is.
Run this amazing program: <pre><? var_dump($_SERVER) ?></pre> If you see your network username as one of the listed subscripts of $_SERVER, presto, you're in business. Otherwise I suspect you may be out of luck because the browser is not sending it to the server, or the server is not sending it to PHP. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php