[dokuwiki] Re: user switch and $INFO variable

  • From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Tue, 29 May 2007 16:11:50 +0200

Pierre Spring writes:

hi all,

to get the user logged in, i read the global variable
$INFO['client'] ... because the $INFO['user'] seems to have a strange
behavior...

is there a better way than reading the global $INFO vaiable in order to
get the user-name of the user logged in? say an auth function i didn't
see yet?

The username should be always awailable throght $_SERVER['REMOTE_USER']


--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: