login with user level access
Moderator: General Moderators
login with user level access
does anyone how to build a login with user access level in php? could you please advise me how to do int? tnx
Re: login with user level access
First things which you need here is to decide what are the type of user access levels which you need. And what are access level for each user.
Then you need to create a table in database for each roles access and also what is accessible to each user of a particular type.
Suppose you have a page which is accessible to type1 user, you need to check first whether the user has access to this page or not and then perform neccessary steps.
Then you need to create a table in database for each roles access and also what is accessible to each user of a particular type.
Suppose you have a page which is accessible to type1 user, you need to check first whether the user has access to this page or not and then perform neccessary steps.
Re: login with user level access
I made a table user
id
name
access_level e.g.
(1) corresponding to view
(2) view/edit
but in my script i didnt know how to start the code.
id
name
access_level e.g.
(1) corresponding to view
(2) view/edit
but in my script i didnt know how to start the code.