0

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

Edited by fireburner29: mistake

2
Contributors
4
Replies
24
Views
2 Years
Discussion Span
Last Post by fireburner29
0

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.

1

@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.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.