[horde] Need to get session variable for user.

Michael Rubinsky mrubinsk at horde.org
Tue Jun 17 15:25:14 UTC 2008


Quoting "Steve Devine" <sd at msu.edu>:

> We are developing a preferences page for our installation. I am have  
> some trouble getting the username or userid into our script.
> We are currently authenticating via the imp module to an imap server.
> I downloaded skeleton but it wants to use apache's  
> $_SERVER['PHP_AUTH_USER'] and that is not the right variable.
> Can some one point me in the right direction?
> Maybe where the critical lib is and what the variable is that I am  
> looking for?

Auth::getAuth() will give you the username of the currently logged in user.


Thanks,
mike

--
The Horde Project (www.horde.org)
mrubinsk at horde.org

"Time just hates me. That's why it made me an adult." - Josh Joplin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: PGP Digital Signature
Url : http://lists.horde.org/archives/horde/attachments/20080617/bcc94eab/attachment.bin 


More information about the horde mailing list