bondoq Posted April 17, 2008 Share Posted April 17, 2008 hi all i make a project and i have 3 pages and 3 user located in mysql database i need to make one user can browse only one page thanks in advance Link to comment https://forums.phpfreaks.com/topic/101629-restricting-users/ Share on other sites More sharing options...
psychowolvesbane Posted April 17, 2008 Share Posted April 17, 2008 Add a field in your User Account table called Type and the values could be either 0, 1, 2 or Basic, Normal, Advanced or something else of your choosing. Then have some code in the <head> of your page that will redirect the users that don't belong there based on their Type. Link to comment https://forums.phpfreaks.com/topic/101629-restricting-users/#findComment-519991 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.