Verify user by group - 07/30/2002 10:10 PM
I am creating a page to be viewable only by members of a certain group, but am having problems finding the right info to check. Right now I can access the page as admin using this:
Which works fine for me as admin, but I need it to work for an existing group called 'Members'. I'm still new to this stuff, but I bet this is an easy one for the gurus around here
Any help is appreciated!
code:
if ($user['U_Status'] == 'Administrator') {
include "info.php";
} else {
echo "You are not authorized or not logged in.";
}
Which works fine for me as admin, but I need it to work for an existing group called 'Members'. I'm still new to this stuff, but I bet this is an easy one for the gurus around here
Any help is appreciated!