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:

Hi

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 ?

Thanks
Shaun





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to