Re: Permissions

From: Date: Wed, 06 Nov 2002 12:48:50 +0000
Subject: Re: Permissions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-122979@lists.php.net to get a copy of this message
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


« previous php.general (#122979) next »