Might be a daft question..
Date: 03/13/06
(PHP Community) Keywords: php
is there any way to get PHP to retrieve the currently logged on user in windows XP, on a domain? I'm doing a bullying feedback form in a school, and it's being abused with false names/details etc...
If I do a "Set" command in XPs command prompt, it does return the USERNAME= variable with the current user..but can I get PHP to read this and chuck it in the text file with the rest of the feedback?
Many thanks..
Source: http://community.livejournal.com/php/424650.html