If your an absolute beginner at
PHP, this is too far.
You could have a 'permission' field in your DB, values 0-3 (Guest, User, Mod, admin)
Pages then would be like:
- Code: Select all
if ($permission > 1){
// Content that only mods and admins can see
}
else{
echo "You do not have the authority to view this section";
}
You can manipulate that yourself. But again, if your very new to
php and have just downloaded a script this is too far. Try a shoutbox to get started