Re: Best way to check for user 'Administrator' group membership
| From: | trystano at aol dot com | Date: | Wed, 25 Feb 2004 14:31:10 +0000 |
| Subject: | Re: Best way to check for user 'Administrator' group membership | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-22971@lists.php.net to get a copy of this message | ||
Have an entry in your MySQL databases that states a/the users level (admin, user etc). Then when
they attempt to login check against this value against their username/password credentials and then
determine the logic yourself.
You could even have a dropdown box populate with the types of admin/user etc and then compare this
value with the username/password in the database etc
Its not to difficult, you just need to think about it.
Tryst