Re: User Management

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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");

<angelo@xxxxxxxxxxxx> wrote in message 
news:1113419106.425d6d62ca4f2@xxxxxxxxxxxxxxxxxxxxxxx
>
>
> 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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux