Is there any simple PHP based backend system that has multi user and multi roles access control?

Recommended Answers

All 4 Replies

sorry for my bad english.

i referred this tutorial Bachov. but there, admin and user login redirects separate pages.
it has to redirect same page with them access.

@fireburner29, You can also redirect it to the same page.

check this session value $_SESSION['sess_userrole'], before you print the details. Means that if its value is admin, print the admin details. Else print
the normal user details.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.