View Full Version : restrict some page access to users

12-14-2010, 12:25 PM

Im looking for a idea or example to restrict access to some pages

like user type "editor" can only access to editnews.php
user type "user" can access several pages
user type "superuser" can access all pages etc...

hope someone can understand what i mean. sorry for the language errors


12-14-2010, 04:13 PM
You need some sort of login script (PHP).
Depending on how many users you have and how elaborate the "user profile"
needs to be, the script could take on many variations. The bottom line is
the use of PHP SESSION to keep track of who is logged-in (their access level).