j007ha Posted August 20, 2008 Share Posted August 20, 2008 can anyone tell me how to do an access level in a system... example: accessibilty admin-can view,update,insert,delete all the data in a system clerk-only can view any idea to do with this? thx for any help Link to comment https://forums.phpfreaks.com/topic/120486-access-level-in-system/ Share on other sites More sharing options...
Fadion Posted August 20, 2008 Share Posted August 20, 2008 I guess you're not requesting coding, as it depends on the system. Instead I'll give you an idea of a 'users' table which holds users and their access level. id username password access --------------------------------- 1 admin sha1(pass) admin 2 john sha1(pass) clerk 3 smith sha1(pass) clerk 4 jim sha1(pass) normal 5 ben sha1(pass) normal Based on the access level, you redirect the user to the section he/she belongs. You can have a master page and based on the access, you include the appropriate file. Hope that gives you an idea. Link to comment https://forums.phpfreaks.com/topic/120486-access-level-in-system/#findComment-620898 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.