I'm building a portal system for my company and need someway of grabbing the windows username of the person logged on accessing the portal.
Setup...
Apache & PHP on Windows.
This is VITAL so any help is MUCH appreciated.
I've tried
echo $_SERVER; - returns IP, not username
echo $_SERVER; - returns nothing
echo $_SERVER; - returns nothing
echo $_ENV; - returns nothing