[pmwiki-users] Auth User & New User Registration

Patrick R. Michaud pmichaud at pobox.com
Tue Mar 14 16:25:50 CST 2006


On Tue, Mar 14, 2006 at 05:17:55PM -0500, The Editor wrote:
> 
> For now, I need to be able to somehow check if the viewer of the page
> is logged in or not. I have this line in the script

As of PmWiki 2.1, If you just want to know if someone is logged 
in (via authuser):

    include_once('scripts/authuser.php');
    if (@$AuthId) {
      // viewer is logged in
    }

Pm




More information about the pmwiki-users mailing list