$_SERVER['LOGON_USER'] also works.
---John Holmes...
- Original Message -
From: "James Lobley" <[EMAIL PROTECTED]>
To: "'Thomas Franz'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, January 23, 2003 6:05 AM
Subje
Hi Thomas,
The following code should help you...
Note that you have to turn off anonymous access in IIS, so that the user
authenticates to a domain.
");
$user_chunks = explode("\\",strtoupper(getenv("REMOTE_USER")));
$user_domain = $user_chunks[0];
$user_name = $user_chunks[1];
echo("User domai
So, you want the server (PHP) to probe the client (user's) remote machine to
find out the windows username?
Can't be done. First thing to remember is that PHP is server side. SOME
LIMITED information is sent to the server by the browser, but I doubt this
would ever be considered -- or even secur
3 matches
Mail list logo