Go to the FreeLists Home Page Home Signup Help Login
 



[dokuwiki] || [Date Prev] [06-2007 Date Index] [Date Next] || [Thread Prev] [06-2007 Thread Index] [Thread Next]

[dokuwiki] Re: AW: Re: retrieving acls in own PHP script

  • From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Tue, 12 Jun 2007 12:41:19 +0200
Thorsten Volkmer-Wolf writes:

$_SERVER['REMOTE_USER']

...gives me the user who's logged in at the web server, which is not 
necessarily the same user who's logged in at the DokuWiki (especially if using 
IIS)!
In this case the functions in auth.php don't really help....i've seen auth.php 
and found it to be really usefull for my purposes, but at first i need to 
determine who's logged in.

DokuWiki does set this variable to the user who logged in through DokuWiki's authentication backends.

Andi


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




[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.