[PHP] User Management

2005-04-13 Thread Dasmeet Singh
Hi! I am developing an applicaton in PHP where different users would have different permissions and access to different functions/pages of website. Now whats the best way to do tht? One way I can think of is keep all permissions in a table and divide everyting on site into functions..and when

Re: [PHP] User Management

2005-04-13 Thread angelo
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

Re: [PHP] User Management

2005-04-13 Thread Dasmeet Singh
Thanks.. And how to manage user and their permissions.. should I store each page name in a table and then store permissions of each and every user to individual pages in another table? Is there any other way to do this? [EMAIL PROTECTED] wrote: use an include file at the top of each page. in

RE: [PHP] User Management

2005-04-13 Thread Stephen March
an easy solution per-se, but this is effective for me. Cheers, ~Stephen March, CIS, BSc -Original Message- From: Dasmeet Singh [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 4:15 AM To: php-general@lists.php.net; [EMAIL PROTECTED] Subject: Re: [PHP] User Management Thanks

Re: [PHP] User Management

2005-04-13 Thread Satyam
One of the most flexible ways to do this is to have one table with each user information, then a table of groups and group members. Users, per se, don't have permissions, they acquire them from the groups they belong to, it is easier that way than to assign permissions to each individual user,

Re: [PHP] User Management

2005-04-13 Thread Dasmeet Singh
-Original Message- From: Dasmeet Singh [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 4:15 AM To: php-general@lists.php.net; [EMAIL PROTECTED] Subject: Re: [PHP] User Management Thanks.. And how to manage user and their permissions.. should I store each page name in a table

Re: [PHP] User Management

2005-04-13 Thread aznFETISH
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

[PHP] php user management functionality

2004-05-01 Thread bruce
hey doing some basic research... has anyone found a seriously good user management script (preferably free) that can be incorporated within a web application. i'm looking for something that allows for the following functions: - user registration/login - admin function - group/team

Re: [PHP] php user management functionality

2004-05-01 Thread Travis Low
I wrote a job-tracking/workflow management application called Willow Job Tracker. You can download a copy of the free GPL version from here: http://dawnstar.com/index.php?display=ProductDetailsid=780 And there's a demo here: http://dawnstar.com/wjtf/ Login to the demo using admin/admin.