> If I'm writing a plugin and I need to get hold of the currently logged in
> users email address, what methods do I have to get this?
It's a global variable. At the beginning of your function:
function someplugin_init() {
global $username;
print "Hi $username. Ostriches run fast.<br>\n";
}
Then you can use it throughout the function.
--
Chris Hilts
[EMAIL PROTECTED]
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users