[imp] Getting the username

Edwin Culp eculp@encontacto.net
Sat, 14 Sep 2002 20:29:18 -0700


Quoting Jacob Rush <jacobr@mcluckieco.com>:

 | Hi im in the process of writing a script to display a users current 
 | quota usage.  I need to know what I need to do to be able to get the 
 | current username from the imp session.  Any help would be appricated.
 | 
$user=Auth::getAuth();
echo $user;
or something similar should work.  Several of the configuration files
have examples.  I think hooks.php.dist maybe turba/config/sources.php
and others I'm sure.

ed
 | Thanks,
 | Jacob Rush
 | 
 | 
 | -- 
 | IMP mailing list
 | Frequently Asked Questions: http://horde.org/faq/
 | To unsubscribe, mail: imp-unsubscribe@lists.horde.org


--