You can use array with the user permissions (stored in a session variable), and use it someway like
if($_SESSION['perm']['do_that']) echo '<a href="do_that.php">Do that</a>';

Shaun wrote:


I want to make a secure site. The username , password and permission of the
users must be stored in database.
I only want certain icons (navigation bars) to be available to certain
users. How would i be able to do this with permissions ?


PHP General Mailing List (
To unsubscribe, visit:

Reply via email to