in every page i have a restricted button of links i have 2 kind of users:
- Admin
- Encoder
in the top of my page i have this code:
<? session_start(); session_register("rights", "theusername", "inin"); if (!$inin) { header("Location: login.php"); exit; } ?>now rights is where the admin or encoder wer placed.
my problem is how to disable/enable the button wer is restricted. 8)