Image

Imagesirbendy wrote in Imagephp

Might be a daft question..

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..