I use something like this the numbers 1,2,3,4 are an array of member group 
ID's so it checks the users session to see if they are a member to one of 
those groups

$_product_id = array(1,2,3,4);
require_once("/home/blah/public_html/members/plugins/protect/php_include/check.inc.php");

<[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
>
>
> use an include file at the top of each page.
> in this include file you will check to see whether that user has access
> to see that page, if they dont then just redirect to the main menu page
> or an error page.
>
> hope this helps
>
> Angelo Zanetti
> Z Logic
>
> www.zlogic.co.za
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program. 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to