Jan 27, 2006 #1 delfy MIS Feb 8, 2005 96 JM using php how can i get the usename and the log on time of the curently signed in windows user on a windows PC?
using php how can i get the usename and the log on time of the curently signed in windows user on a windows PC?
Jan 27, 2006 #2 thenewa2x Programmer Dec 10, 2002 349 US I don't know if there is a real way of doing it but you might try: Code: $user = trim(`echo %USERNAME%`); I tested it and it works. --------------------------------------- http://www.visualactive.net/ Upvote 0 Downvote
I don't know if there is a real way of doing it but you might try: Code: $user = trim(`echo %USERNAME%`); I tested it and it works. --------------------------------------- http://www.visualactive.net/