jayR Posted June 5, 2006 Share Posted June 5, 2006 There is a variable I can access from the dos promt that is called %nwusername% and it returns the novell username of the person currently logged into the system. Is there a way I can access that variable so that I can record the username of who is accessing my company's intranet page? I've looked around but found nothing. Thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/11230-accessing-a-dos-variable/ Share on other sites More sharing options...
AndyB Posted June 5, 2006 Share Posted June 5, 2006 This is something solvable with your own network software. Don't your server logs identify the network IP address for every access? Quote Link to comment https://forums.phpfreaks.com/topic/11230-accessing-a-dos-variable/#findComment-41998 Share on other sites More sharing options...
jayR Posted June 5, 2006 Author Share Posted June 5, 2006 The thing is that multiple people can share computers, so they have the same IP address. If I could log their Novell username it would let us see who specifically accessed the page, not just which machine. Quote Link to comment https://forums.phpfreaks.com/topic/11230-accessing-a-dos-variable/#findComment-42005 Share on other sites More sharing options...
trq Posted June 5, 2006 Share Posted June 5, 2006 You should be able to get this infomation through COM. However this really is more a windows thing, php just provides the COM interface. You would probably find more help on a MS developers site.Beware though, COM is an absolute mess. Quote Link to comment https://forums.phpfreaks.com/topic/11230-accessing-a-dos-variable/#findComment-42017 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.