Re: Login System with access levels

From: Date: Fri, 16 Mar 2001 22:04:55 +0000
Subject: Re: Login System with access levels
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-44327@lists.php.net to get a copy of this message
"Jordan Elver" <jord.elver@virginnet.co.uk> wrote in message news:01031619280300.01338@localhost... > Hi, > I've got a db with a username and password in it. I can let people log in, > like SELECT * FROM table WHERE username = username AND password = password. How about you make another table with permisions and have a many-to-many relationship with the users table. Then you'll just check if the user has the given permission. It's harder to do but you'll apresiate the flexibility it provides. --yavo

« previous php.general (#44327) next »