Detect windows domain username in PHP
Is there anyway, in PHP, to detect someone's u开发者_如何学运维sername?
I want to track the users that visit and download particular files on our internal site?
If you mean Active Directory authentication, and you're running Internet Explorer on the client end, this seems to be possible in some circumstances. See here.
No, you can't read a visitor's Windows username.
精彩评论