Re: User Management

From: Date: Wed, 13 Apr 2005 15:05:47 +0000
Subject: Re: User Management
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-213013@lists.php.net to get a copy of this message
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@zlogic.co.za> wrote in message news:1113419106.425d6d62ca4f2@webmail.zlogic.co.za... > > > 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.

« previous php.general (#213013) next »