Crimpage Posted November 6, 2006 Share Posted November 6, 2006 Hi All,I tried a seach but could not find anything. Is there a way for PHP to find the windows username of the current logged on user?I know it is possible, just dont know what language can do it, and if PHP can.Thanks,Dave Link to comment https://forums.phpfreaks.com/topic/26281-windows-logged-on-user/ Share on other sites More sharing options...
cunoodle2 Posted November 6, 2006 Share Posted November 6, 2006 I am pretty sure that you can NOT do this with php. All of the variables that you can use are found here...http://us2.php.net/reserved.variablesI did not see it listed on there but I could be wrong. I do not think that PHP has that ability. However you might be able to do something with the IP address (depending on what you are doing). I don't know that the windows user name would be all that helpfull as the one I use on my system is "admin" and people could have a anything they want for theirs. Link to comment https://forums.phpfreaks.com/topic/26281-windows-logged-on-user/#findComment-120190 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.