Page 1 of 1

$_SERVER['LOGON_USER'];

Posted: Fri Jun 05, 2009 10:14 am
by electra
When I run $_SERVER['LOGON_USER'];from my machine it returns elliottgroup\dgriffiths

When I run the same php page on a users PC it returns ellittgroup\administrator

Can anybody tell me why.

I have administrator rights by the way.

Re: $_SERVER['LOGON_USER'];

Posted: Fri Jun 05, 2009 10:57 am
by Benjamin
:arrow: Moved to PHP - Code

Re: $_SERVER['LOGON_USER'];

Posted: Fri Jun 05, 2009 11:28 am
by mikemike
Because you're logged on as dgriffiths?

Re: $_SERVER['LOGON_USER'];

Posted: Fri Jun 05, 2009 1:55 pm
by electra
So why when a user opens the php page does it not show elliotgroup\username