$_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
er_chunks[1];
echo("User domain is $user_domain");
echo("User name is $user_name");
?>
James
-Original Message-
From: Thomas Franz [mailto:[EMAIL PROTECTED]]
Sent: 23 January 2003 10:44
To: [EMAIL PROTECTED]
Subject: [PHP] get current username from the windows system
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
Hi.
is their a possibilty to get the windows username of the current logged on
user with php.
I want this to make a logon dialog more comfortable.
Thanks for an answer and a little example if it's possible.
Thomas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
4 matches
Mail list logo