I think I have it figured out. The following seems to work:
Code:
// Permissions Redirect
if ($usergroupid==8) {
header("Location: $url_/register.php");
} else if ($usergroupid <= 1) {
header("Location: $url_/register.php");
} else if ($usergroupid <= 2) {
header("Location: $url_/payments.php");
} else if ($usergroupid <= 3) {
header("Location: $url_/payments.php");
} else if ($usergroupid <= 4) {
header("Location: $url_/payments.php");
}
So far, so good. If I run into trouble again, I will re-post here, but I think I got it licked
Thank you for your time!
Jack
--------------- Added [DATE]1428686841[/DATE] at [TIME]1428686841[/TIME] ---------------
PS: I would be interested to see your code where
only members X, Y could have access ... with all others getting a No Permissions message.