Get windows username

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
_ThndR
Forum Newbie
Posts: 20
Joined: Fri May 26, 2006 12:02 pm
Location: Leeuwarden, The Netherlands

Get windows username

Post by _ThndR »

Short question:

Is there a way to get the windows-account username at which a visitor is viewing your website (like Environment.Username in C#), and if so, how?
I doubt it, I did a search on google but didn't find any clear answers... And, if it's not possible in php, is it in some other language that can be used on webpages?

Thanks in advance
User avatar
aerodromoi
Forum Contributor
Posts: 230
Joined: Sun May 07, 2006 5:21 am

Re: Get windows username

Post by aerodromoi »

_ThndR wrote:Short question:

Is there a way to get the windows-account username at which a visitor is viewing your website (like Environment.Username in C#), and if so, how?
I doubt it, I did a search on google but didn't find any clear answers... And, if it's not possible in php, is it in some other language that can be used on webpages?

Thanks in advance
In any case, this would have to be a client-side scripting language.
AFAIK neither JavaScript nor ActionScript allow for this kind of thing.
Besides, I wouldn't really be happy if they did...

aerodromoi
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

Post Reply