neo777ph Posted March 7, 2007 Share Posted March 7, 2007 HELP! We had this system developed on ASP that can get the username of the current user of a PC. I would also like to do it on our PHP built system., Please help.. How To Get The Username of a currently login user on a PC? I would use this for security purposes and user would not need to login in to our PHP built system.. The main page would automatically verify if the username exist on the database.. Big Thanks.. Link to comment https://forums.phpfreaks.com/topic/41561-2nd-time-around-how-to-get-username-of-the-current-user-of-a-pc/ Share on other sites More sharing options...
neoform Posted March 7, 2007 Share Posted March 7, 2007 You mean like the username of the user in windows? Without question you cannot do that in any server side language. Link to comment https://forums.phpfreaks.com/topic/41561-2nd-time-around-how-to-get-username-of-the-current-user-of-a-pc/#findComment-201413 Share on other sites More sharing options...
neo777ph Posted March 7, 2007 Author Share Posted March 7, 2007 half true half false.. I mean only the current user logged to the PC. this is possible..because our ASP built system can do it..It recognizes the current user. However, i dont know how to do it on PHP... please help. Link to comment https://forums.phpfreaks.com/topic/41561-2nd-time-around-how-to-get-username-of-the-current-user-of-a-pc/#findComment-201415 Share on other sites More sharing options...
neoform Posted March 7, 2007 Share Posted March 7, 2007 If you're talking about finding out the user that php is using on the server, then use get_current_user() .. but if you want to find out the user of the person viewing the website. it's not possible. in any language.. (unless you have some sort of java applet running on the clientside or something) Link to comment https://forums.phpfreaks.com/topic/41561-2nd-time-around-how-to-get-username-of-the-current-user-of-a-pc/#findComment-201417 Share on other sites More sharing options...
neo777ph Posted March 7, 2007 Author Share Posted March 7, 2007 our system is an internal one.. Link to comment https://forums.phpfreaks.com/topic/41561-2nd-time-around-how-to-get-username-of-the-current-user-of-a-pc/#findComment-201430 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.