[pmwiki-users] retrieving user id (pmwiki2.1-beta20)
Antony Templier
z3l at free.fr
Mon Jan 16 09:27:08 CST 2006
Hi,
What is the best way to retrieve user id in a cookbook php script :
Before pmwiki2.1-beta20 i used : @$_SESSION['authid']
But after this doesn't seem to work.
Instead : @$_SESSION['authid'][0] work's again.
Is it a modification, a bug or a misunderstanding from myself ? ...
Is it a good idea to use $GLOBALS["AuthId"] for the same purpose ?
What are differences between $GLOBALS["AuthId"] and @$_SESSION['authid'][0] ?
Best regards,
AT
More information about the pmwiki-users
mailing list