To find weather user is a logged in user or not use the following code
$user = &JFactory::getUser();
if ($user->get('gid')){
echo "user is logged in";
}else{
echo "not logged in";
}
Friday, July 31, 2009
Subscribe to:
Post Comments (Atom)
Web developer Abdul Basit
No comments:
Post a Comment